This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fixinc required for new FreeBSD 4.x bootstrap failures


On Mon, 13 Sep 2004, Bruce Korb wrote:
In the TOT for stdlib.h, I think I'd clarify the alternating nature
of these by using "#elif" instead of "#endif\n#if", that way
the last clause becomes "#else" instead of another obscuring test.

I believe David is already working to adjust the FreeBSD system headers.


Anyway, for fixinc, I think the simpliest fix is to constrain to
FreeBSD, grep for the stdlib.h header file version and then do
a "c-fix" that replaces that particular "== 3" with ">= 3".

This is how I fixed this locally (by editin the system headers in place). Unfortunately, fixinc is a black magic box for me, so I wonder if someone different from this poor bug reporter would mind working on that? ;-)

Gerald


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]