Mail Archives: djgpp-workers/2000/06/04/13:41:07
Eli Zaretskii wrote:
> > > Also, #include_next redefines the constants that are already defined (by
> > > whatever precedes it in the header GCC installs), no? If so, the
> > > compiler could print warning messages under some restrictive -Wfoo option.
> >
> > Oops. Missed that. If our header comes first, this is not a problem.
>
> Our header can only come first if theirs does #include_next right at
> the beginning. Does it?
No.
> I've read this when Mark posted a pointer to this thread, but I don't
> see any rationale here, only a postulation of a principle with no good
> justification.
Neither I did.
> > Also, this is in some way related with fixincludes. Could anyone on
> > unix/linux/whatever run fixincludes on DJGPP headers and post what
> > changes are made?
>
> IIRC, fixincludes is only required where system headers contradict
> ANSI. At least that was its original intent.
That's why I want to check them. We could be surprised. At least I saw
one fix there related with va_list in stdio.h issue there.
Laurynas
- Raw text -