Bug#34996: libc6-dev: stdout etc, no longer constant
[Espy, please add this to a FAQ]
On Wed, Mar 24, 1999 at 14:24:42 +0000, Giuliano Procida wrote:
> programs using things like this at the top level
>
> FILE * foo = stderr;
>
> no longer compile
This is not a bug in libc6-dev.
See http://wwwold.dkuug.dk/JTC1/SC22/WG14/ :
: 7.19 Input/output <stdio.h>
:
: 7.19.1 Introduction
[...]
: stderr
: stdin
: stdout
:
: which are expressions of type ``pointer to FILE'' that point
: to the FILE objects associated, respectively, with the
: standard error, input, and output streams.
The expressions are not required to be constant, as they would have to be
constant for the construct you're using to work.
HTH,
Ray
--
Tevens ben ik van mening dat Nederland overdekt dient te worden.
Reply to: