Correct or Not or Old-fashioned or Bug

Christopher R Volpe volpe at camelback.crd.ge.com
Wed May 29 13:58:50 AEST 1991


In article <164 at thor.sdrc.com>, scjones at thor.sdrc.com (Larry Jones) writes:
|>Not so.  WITHIN A SINGLE SOURCE FILE, multiple tentative definitions
|>are treated as a single definition, but the cited example had them
|>scattered across multiple files.  In this case, each file would end
|>up with a definition and the linker is justified in complaining about
|>it.

Oops. Thanks. The small print on page 227 of K&R2 says that the behavior
I described is a common extension under Unix, but not Standard behavior.

|>----
|>Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH  45150-2789  513-576-2070
|>Domain: scjones at sdrc.com             Path: uunet!sdrc!scjones
|>I won't eat any cereal that doesn't turn the milk purple. -- Calvin
                 
==================
Chris Volpe
G.E. Corporate R&D
volpecr at crd.ge.com



More information about the Comp.lang.c mailing list