Patch to remove re-assert warnings on powerpc-*-linux-*

Daniel Jacobowitz drow@false.org
Sat Mar 27 12:05:00 GMT 1999


On Sat, Mar 27, 1999 at 11:03:50AM -0500, Zack Weinberg wrote:
> On Sat, 27 Mar 1999 00:26:41 -0500, Daniel Jacobowitz wrote:
> >This patch removes "system(unix) re-asserted" type warnings from
> >powerpc-*-linux-*, which cpplib now produces and cause all the excess error
> >tests in testsuite to fail with --enable-c-cpplib.
> 
> I think you can safely delete all references to CPP_OS_LINUX_SPEC.
> CPP_PREDEFINES is a much better place to do this sort of thing, if
> only because it gets the test for defining bare `unix' right.

I don't follow.  It doesn't HAVE a test for -Dunix; CPP_PREDEFINES
comes from linux.h, and defines -Dunix unconditionally.

Dan

/--------------------------------\  /--------------------------------\
|       Daniel Jacobowitz        |__|     CMU, CS class of 2002      |
|   Debian GNU/Linux Developer    __   Part-Time Systems Programmer  |
|         dan@debian.org         |  |        drow@cs.cmu.edu         |
\--------------------------------/  \--------------------------------/


More information about the Gcc-patches mailing list