Thread View: net.bugs.v7
1 messages
1 total messages
Started by utzooutcsrgvutcsstatgeoff
Thu, 28 Apr 1983 22:26
cc allows external identifiers not unique in first 7 characters
Author: utzooutcsrgvutcsstatgeoff
Date: Thu, 28 Apr 1983 22:26
Date: Thu, 28 Apr 1983 22:26
17 lines
1076 bytes
1076 bytes
The v7 C compiler does not complain about definitions of external identifiers that are not unique in their first 7 characters. The assembler does complain, giving slightly cryptic `m' diagnostics. Since many users never use the assembler directly, one would like the C compiler to diagnose this problem within a single source file. For conflicts across source files, the loader will complain quite clearly. A recent net.sources program contained code like char *format_a = "a"; char *format_b = "b"; char *format_c = "c"; These are all truncated to `format_' by the compiler, but it fails to notice that they are identical after truncation. Geoff Collyer, U. of Toronto
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads