This is the mail archive of the
mailing list for the GCC project.
Re: Question on -Werror usage in Makefiles...
> Looking through config.gcc, I see that sparc64-openbsd, sparc*-elf,
> sparc-rtems, sparclite-elf and sparc86x-*-elf are among the
> non-solaris targets which include sol2.h. Unless they redefine
> TARGET_OS_CPP_BUILTINS, checking... Some of them do but not all.
> Perhaps we could fix the rest and then wrap sys/mman.h in #ifdef sun ?
Why not a configure test then?
> Sure, if Mark approves it. Otherwise I'd wait till we branch 3.4.
> I wouldn't put it on the 3.3 branch yet if that's what you mean.
Not really, I was primarily concerned about mainline.