3 ms·
In the original C implementation function names could be as long as you wanted, but the compiler only looked at the first six chars.
by wmil 16y ago
In the original C implementation function names could be as long as you wanted, but the compiler only looked at the first six chars.
- JoachimSchipper 16y agoIt's worse than that, actually: the C89/C90 standard allows this behaviour. Yes, many programs would break if compiled with such a theoretically conforming compiler.
- metageek 16y agoI thought it was the linker that truncated. So functions called fredBlogs() and fredBlugs() would be fine as long as they were in the same compilation unit, and not called from any other compilation unit.