initializer element is not constant
Matt McLean
keys@brio.yikes.com
Fri Jun 26 17:49:00 GMT 1998
since glibc 2.1, file pointers to things like stdin, stdout, stderr, etc.
don't seem to work anymore (in some situations).
for example, in ash (mknodes.c:92) there is the line:
FILE *infp = stdin;
and the gcc error is:
mknodes.c:92: initializer element is not constant
to fix it, ive just changed all the infp usages to stdin. but what's the
real fix?
matt.
More information about the Libc-hacker
mailing list