🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.v7
Article #121

cc allows external identifiers not unique in first 7 characters

#121
From: utzooutcsrgvutcsstatgeoff
Date: Thu, 28 Apr 1983 22:26
17 lines
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
Technical Details
Message-ID: <bnews.utcsstat.600>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
From: utzoo!utcsrgv!utcsstat!geoff
Newsgroups: net.bugs.v7
Title: cc allows external identifiers not unique in first 7 characters
Article-I.D.: utcsstat.600
Posted: Thu Apr 28 22:26:15 1983
Received: Fri Apr 29 00:09:23 1983
Subject: cc allows external identifiers not unique in first 7 characters
Date: Thu, 28 Apr 1983 22:26:15 +0000
Message-ID: <bnews.utcsstat.600>