Was:Re: possible bug? Workaround ??? Please

cej@CEJCHAN.gli.cas.cz cej@CEJCHAN.gli.cas.cz
Mon Nov 8 06:40:00 GMT 1999


Dear Alexandre,

>> On Nov  8, 1999, cej@CEJCHAN.gli.cas.cz wrote:
>> 
>> > 	FILE *ErrorFile = stdout;            	<-- error line in the source
>> > initializer element is not constant  		<-- error message
>> 
>> You can't expect stdout to be constant; the ISO C Standard doesn't
>> demand it.  The maintainers of the GNU C Library (that are not the
>> maintainers of the GNU C Compiler) have decided to take advantage of
>> this permission to make stdout assignable, which eases redirection,
>> while giving up the ability to use it as an initializer.  If you find
>> that a bad idea, this is not the place to complain.  But I'm pretty
>> sure the maintainers of glibc would be glad to hear from you :-) :-)
>> 

Please, can you give me a hint how to modify the code to workaround this?
Many thanks in advance,
yours sincerely,
Peter.


--
  Peter Cejchan, Inst. of Geology, Academy of Science, Prague, CZ
                     <cej@cejchan.gli.cas.cz>
            """I believe in GNU < http://www.gnu.org >"""





More information about the Gcc-bugs mailing list