Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Redeclaration of Variables extern/static Message-ID: <1991Apr15.154410.19873@zoo.toronto.edu> Date: Mon, 15 Apr 1991 15:44:10 GMT References: <1991Apr9.055250.24257@world.std.com> <15775@smoke.brl.mil> <1991Apr10.161742.21920@zoo.toronto.edu> <15815@smoke.brl.mil> Organization: U of Toronto Zoology In article <15815@smoke.brl.mil> gwyn@smoke.brl.mil (Doug Gwyn) writes: >>>I've never seen a UNIX C compiler that had a problem with multiple >>>declarations of the same object with static linkage... >>Sorry Doug, you lose. The original Ritchie compiler refuses to accept >>such multiple declarations. (I just tried it... > >Hm, I guess the reason I don't recall that is that we upgraded our C >compiler on our 6th Edition UNIX system to a 7th Edition flavor as >fast as I was able to incrementally do so... I don't think that's the reason, because I was actually speaking of the 7th Ed compiler. (And a derivative of it is what I've got available for testing.) -- And the bean-counter replied, | Henry Spencer @ U of Toronto Zoology "beans are more important". | henry@zoo.toronto.edu utzoo!henry