In message <[EMAIL PROTECTED]> David Malone writes:
: I can't find my second edition at the moment. This behavior is
: commented on in the C FAQ as something the ANSI standard describes
: as a common extension. (http://www.eskimo.com/~scs/C-faq/q1.7.html)
: It also seems to suggest it is mostly a Unix thing.

VMS's DEC CC does the same thing as our tool chain.  At least on the
VMS 4.4 system I used in college.  It got lots of other things
"different" than the unix compilers we were using (pcc derived things
for sun3 and sun4), but this it did the same.

C++ requires exactly one definition, but can have many declarations
(eg only one int foo, but many extern int foo).  Actually, conforming
C++ compilers may require exactly one definition.  This is listed in
the appendix of one of the Stroustup books as being a departure from
plain old C.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to