Re: FILE = stderr

From: Philip Blundell (pb@labs.futuretv.com)
Date: Wed Jan 05 2000 - 06:20:48 EST


In message <38732670.D243D035@internetappliance.com>, Du Jinsong writes:
>Hi, I am trying to port a program from BSD to linux. In the code that
>takes care of log messages there is a line:
>
>static FILE *log_output = stderr;
>
>which is okay in BSD, but when try compiling it on linux, I got an
>error:

See the glibc FAQ:

3.9. I get compiler messages "Initializer element not constant" with
        stdin/stdout/stderr. Why?

p.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:12 EST