[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GLIBC: Should stderr be a constant?
From: |
Andreas Jaeger |
Subject: |
Re: GLIBC: Should stderr be a constant? |
Date: |
28 Feb 2001 12:28:55 +0100 |
User-agent: |
Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Channel Islands) |
Chris <address@hidden> writes:
> Hi all,
>
> I have some C code which looks like this...
>
> FILE * debug_stream = stderr;
>
> Which on RH 7.0 gets...
> debug.c:9: initializer element is not constant
>
> Well this used to work on older versions of Linux and I'm pretty sure it
> worked on every obscure version of Unix I have come across before.
>
> Is there some standard or something that says it doesn't have to work?
> Any reason it can't be made to work? It's a pretty damned useful thing
> to be able to do.
>
> Please CC any replies to my email because I'm not in the mailing list.
Read the glibc FAQ, the problem is answered there. It should be
installed on your system, otherwise check:
http://www.suse.de/~aj/glibc-FAQ.html
Andreas
--
Andreas Jaeger
SuSE Labs address@hidden
private address@hidden
http://www.suse.de/~aj