Non-constant initializers

Mike Stump mrs@wrs.com
Wed Apr 22 15:21:00 GMT 1998


> 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.  :-)



More information about the Gcc mailing list