Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!camelback!volpe From: volpe@camelback.crd.ge.com (Christopher R Volpe) Newsgroups: comp.lang.c Subject: Re: Correct or Not or Old-fashioned or Bug Message-ID: <19995@crdgw1.crd.ge.com> Date: 29 May 91 03:58:50 GMT References: <19804@crdgw1.crd.ge.com> <164@thor.sdrc.com> Sender: news@crdgw1.crd.ge.com Reply-To: volpe@camelback.crd.ge.com (Christopher R Volpe) Distribution: comp.lang.c Lines: 19 In article <164@thor.sdrc.com>, scjones@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@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@crd.ge.com