Article View: fr.comp.lang.c
Article #18Re: flux standard declares en lvalue !
From: Hans-Bernhard Broeker
Date: Wed, 05 Apr 2000 00:00
Date: Wed, 05 Apr 2000 00:00
17 lines
1288 bytes
1288 bytes
[Pardon my forgotten French ... I'll write in English...] Antoine Leca (Antoine.Leca@renault.fr) wrote: [...] : > FILE *file_err = stderr; : [ au niveau global ] : Cela n'a jamais �t� explicitement autoris�. C'�tait une erreur des versions : pr�c�dentes de ton compilateur+biblioth�que que de l'autoriser. It most definitely is *not* error to allow something in addition to what the standard documents says you must allow. The *code* is incorrect, not the compiler that accepted it. The standard does not guarantee that stdin is a constant expression, but neither does it forbid it being one. Nor is a diagnostic required, in this case, AFAICS.
Technical Details
Message-ID:
<8cf3ra$db1$1@claire.desy.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38EA0F81.14175F08@cern.ch> <38EB0898.263118E@renault.fr>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 108d68,cf0ca10e654ef794 X-Google-Attributes: gid108d68,public X-Google-Thread: f9822,cf0ca10e654ef794 X-Google-Attributes: gidf9822,public From: broeker@syros.desy.de (Hans-Bernhard Broeker) Subject: Re: flux standard declares en lvalue ! Date: 2000/04/05 Message-ID: <8cf3ra$db1$1@claire.desy.de> X-Deja-AN: 606995550 Distribution: world References: <38EA0F81.14175F08@cern.ch> <38EB0898.263118E@renault.fr> Followup-To: fr.comp.lang.c,cern.linux Organization: Deutsches Elektronen-Synchrotron (DESY) Newsgroups: fr.comp.lang.c,cern.linux