This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Non-constant initializers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]