forrest@ux1.lbl.gov (Jon Forrest) (11/14/88)
Several people have sent me mail pointing out that K&R also says that "in a multi-file program, an external data definition without the extern specifier must appear in exactly one of the files." K&R does say this but this seems to me to be a contradiction of the "all references to the same external identifier refer to the same object claim". From my experience, Unix and VMS both use the later statement. In any case, the reason for my original posting was not to start a discussion that rightfully belongs on comp.lang.c but instead to point out something that could cause trouble for people trying to port C program from Unix and VMS to TurboC. Jon Forrest Lawrence Berkeley Lab., 486-4991 forrest@lbl.gov (internet) ucbvax!lbl-csam!ux1!forrest (uucp) FORREST@LBL (bitnet)