This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Non-constant initializers
- To: r dot alexander at auckland dot ac dot nz
- Subject: Re: Non-constant initializers
- From: mrs at wrs dot com (Mike Stump)
- Date: Wed, 22 Apr 1998 15:21:06 -0700
- Cc: egcs at cygnus dot com
> To: Ross Alexander <r.alexander@auckland.ac.nz>
> From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
> Date: 22 Apr 1998 10:48:16 +0200
> Ross Alexander <r.alexander@auckland.ac.nz> writes:
> |> FILE *f = stdin;
> You should not write that. ISO C does not require std{in,out,err}
> to be a constant expression.
Or, you can switch to C++. It always allows that. :-)