This is the mail archive of the gcc-bugs@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]

Re: preprocessor and gcc specific forms


On Tue, Feb 20, 2001 at 02:15:57PM -0600, Kathleen Fisher wrote:
> The reason __THROW didn't get defined to nothing in sys/cdefs.h is that
> the define is within the scope of an #ifdef __GNUC__, as shown below.

In glibc 2.2 final, things are done like so:

: #else   /* Not GCC.  */
: 
: # define __inline               /* No inline functions.  */
: 
: # define __THROW
: # define __P(args)      args

so this was fixed at some point after whatever version
is installed on your machine.


r~


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