This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Was:Re: possible bug? Workaround ??? Please
- To: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Subject: Was:Re: possible bug? Workaround ??? Please
- From: cej at CEJCHAN dot gli dot cas dot cz
- Date: Mon, 08 Nov 1999 12:23:22 +0000
- Cc: gcc-bugs at gcc dot gnu dot org
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>"""