4.2 extern a DISASTER

Chris Torek chris at umcp-cs.UUCP
Thu Aug 1 16:54:25 AEST 1985


>2. If extern is omitted, and no initializer is present, a "common"
>definition (a la FORTRAN) is emitted. Any number of "common"
>declarations of the same identifier may coexist(!!!!-!mine)

This means that any number of these declarations may be given---in
other words, "ld" won't complain.  However, all such declarations
*refer to the same storage area*.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.unix mailing list