🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #94

Re: int foo[]; vs. extern int foo[];

#94
From: Christopher R Volpe
Date: Thu, 06 Aug 1992 20:49
23 lines
1189 bytes
In article <BsIFLn.6IH@twwells.com>, bill@twwells.com (T. William Wells) writes:
|> 
|> So, I think that this one remains unresolved. However, I'm leaning
|> towards a literal interpretation, which requires that this be an
|> error.

So, then "int foo[5];" should be an error if seen at the file scope
level without an initialized definition elsewhere in the translation
unit? If so, I think there's a lot of broken code and broken compilers
out there.

-Chris

|> 
|> ---
|> Bill                            { uunet | decwrl | telesci }!twwells!bill
|> bill@twwells.com

-- 
==================
Chris Volpe
G.E. Corporate R&D
volpecr@crd.ge.com
Technical Details
Message-ID: <1992Aug6.204924.15646@crd.ge.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!crdgw1!rdsunx.crd.ge.com!bart!volpe
References: <Bs938o.54A@twwells.com> <14383@ksr.com> <BsIFLn.6IH@twwells.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!crdgw1!rdsunx.crd.ge.com!bart!volpe
From: volpe@bart.NoSubdomain.NoDomain (Christopher R Volpe)
Newsgroups: comp.std.c
Subject: Re: int foo[]; vs. extern int foo[];
Message-ID: <1992Aug6.204924.15646@crd.ge.com>
Date: 6 Aug 92 20:49:24 GMT
References: <Bs938o.54A@twwells.com> <14383@ksr.com> <BsIFLn.6IH@twwells.com>
Sender: volpe@bart (Christopher R Volpe)
Reply-To: volpe@ausable.crd.ge.com
Organization: GE Corporate Research & Development
Lines: 23
Nntp-Posting-Host: bart.crd.ge.com