bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GLIBC: Should stderr be a constant?


From: Chris
Subject: GLIBC: Should stderr be a constant?
Date: Wed, 28 Feb 2001 22:23:15 +1100

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.

-- 
Chris Bitmead
mailto:address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]