Primos portability report
Doug Gwyn
gwyn at brl-smoke.ARPA
Fri Feb 19 21:27:47 AEST 1988
In article <7048 at oberon.USC.EDU> blarson at skat.usc.edu (Bob Larson) writes:
>>FILE *ifptr = stdin;
>I've run into this problem before. std(in,out) cannout be assigned to
>FILE * variables other than in main.
A more fundamental problem is that in some implementations stdin etc.
are not constant-expression macros, but more general rvalue macros,
so they cannot be used as static initializers.
More information about the Comp.lang.c
mailing list