This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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>"""




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]