From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David O'Brien" To: Andreas Schwab Cc: Zack Weinberg , rittle AT rsch.comm.mot.com, morganw AT engr.sc.edu, rth AT cygnus.com, gcc AT gcc.gnu.org, pfeifer AT dbai.tuwien.ac.at Subject: Re: FreeBSD 4.0 Date: Wed, 15 Sep 1999 01:40:00 -0000 Message-id: <19990915013954.D17808@dragon.nuxi.com> References: <199909150533.AAA14241@latour.rsch.comm.mot.com> <199909150601.XAA22053@zack.bitmover.com> <19990914231414.B17808@dragon.nuxi.com> <199909150726.AAA31243@zack.bitmover.com> <19990915005633.A25121@relay.nuxi.com> X-SW-Source: 1999-09/msg00593.html > |> #if (defined(__unix__) || defined(unix)) && !defined(USG) > ^^^^ ^^^ > |> #include /* :-) */ #include "config.h" #ifdef HAVE_PARAM_H #include #endif > |> #if (defined(BSD) && (BSD >= 199306)) > ^^^ ^^^ > > GCC cannot use any of the marked identifiers because they are in the > application's namespace. Reguardless, "BSD" is the approved way under BSD. If an application tries to define it, they will typically have problems compiling under BSD. Anyway GCC already uses symbols in the applications namespace: find . -type f | xargs grep 'f i386' ./gcc/libgcc2.c:#ifdef i386 ./gcc/config/i386/xm-i386.h:#ifndef i386 -- -- David (obrien@NUXI.com) From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David O'Brien" To: Andreas Schwab Cc: Zack Weinberg , rittle@rsch.comm.mot.com, morganw@engr.sc.edu, rth@cygnus.com, gcc@gcc.gnu.org, pfeifer@dbai.tuwien.ac.at Subject: Re: FreeBSD 4.0 Date: Thu, 30 Sep 1999 18:02:00 -0000 Message-ID: <19990915013954.D17808@dragon.nuxi.com> References: <199909150533.AAA14241@latour.rsch.comm.mot.com> <199909150601.XAA22053@zack.bitmover.com> <19990914231414.B17808@dragon.nuxi.com> <199909150726.AAA31243@zack.bitmover.com> <19990915005633.A25121@relay.nuxi.com> X-SW-Source: 1999-09n/msg00593.html Message-ID: <19990930180200.W8WvEApEeerODnfI6LWk-ReZXzrVuVASMLjf5FIGp0E@z> > |> #if (defined(__unix__) || defined(unix)) && !defined(USG) > ^^^^ ^^^ > |> #include /* :-) */ #include "config.h" #ifdef HAVE_PARAM_H #include #endif > |> #if (defined(BSD) && (BSD >= 199306)) > ^^^ ^^^ > > GCC cannot use any of the marked identifiers because they are in the > application's namespace. Reguardless, "BSD" is the approved way under BSD. If an application tries to define it, they will typically have problems compiling under BSD. Anyway GCC already uses symbols in the applications namespace: find . -type f | xargs grep 'f i386' ./gcc/libgcc2.c:#ifdef i386 ./gcc/config/i386/xm-i386.h:#ifndef i386 -- -- David (obrien@NUXI.com)