Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 16 May 2011 06:27:33 -0500 Message-ID: <4DD10A23.2AD0@mindspring.com> Date: Mon, 16 May 2011 07:27:31 -0400 From: pete Reply-To: pfiland@mindspring.com Organization: PF X-Mailer: Mozilla 3.04Gold (WinNT; I) MIME-Version: 1.0 Newsgroups: comp.lang.c Subject: Re: Non-constant initializers References: <0ca8ca5b-e73e-418a-935f-0fcc17fdf404@q14g2000prh.googlegroups.com> <9322eedb3a632f5-29a98@gmail.com> <70b21f510c7390e-cc0de@gmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 13 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 4.154.223.81 X-Trace: sv3-cD4JV0snPIQFFNA++B13NRwoH72DtY6TGUNzv0Dh33TAAN5+ykRRZKkNEagg8QhCaeyEZiW7yDYUHt0!2/9ab0+eg3+C8Ld407kmZakCDXLWqFeon+Br+2ACfrJv6eIDFavk7E0ndX/76qvMFo2oGDaVfR1m!O7vYpCwR/w== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1859 Xref: x330-a1.tempe.blueboxinc.net comp.lang.c:4065 Uncle Steve wrote: > What this is becoming, however, is a > pedantic disagreement over the validity of function calls in the > outermost scope of a C program. It seems a little arbitrary that > function calls are only valid in the main() scope, or at least this is > what I perceive as being what the standard says from your replies. External objects are initialized before program startup. The initial values can be embedded in the opcode. -- pete