Still around: Compile error in CVS HEAD from 1999-04-10 20:30
PELaufer at csupomona.edu
Sun Apr 11 03:47:49 GMT 1999
On Sun, 11 Apr 1999, Tim Potter wrote:
> Florian Laws writes:
> > utils/debug2html.c:42: initializer element is not constant
> > utils/debug2html.c:43: initializer element is not constant
> > FILE *infile = stdin;
> > FILE *outfile = stdout;
> > which is odd, at least I don't see why the compiler complains about that.
> I've moved the initialisation of infile and outfile to main().
That would be the correct thing to do.
> Out of interest, could you find out what your particular version of
> egcs thinks stdin and stdout is? Look in stdio.h or just grep for
> stdin in /usr/include/*.h. Under Solaris 2.6 it is:
> /usr/include/stdio.h:#define stdin (&_iob)
extern FILE *stdin; /* Standard input stream. */
extern FILE *stdout; /* Standard output stream. */
extern FILE *stderr; /* Standard error output stream. */
More information about the samba-technical