bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sys/cdefs.h, adding __THROW to __P


From: Andreas Jaeger
Subject: Re: sys/cdefs.h, adding __THROW to __P
Date: 27 May 2001 10:45:06 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (Channel Islands)

"Forever shall I be." <address@hidden> writes:

> I don't know if this has already been reported, but in glibc 2.2.3's
> sys/cdefs.h, around line 43, it reads:
> # if defined __cplusplus && __GNUC_PREREQ (2,8)
> 
> it should read:
> # if defined __cplusplus && __GNUC_PREREQ (2,8) && defined __EXCEPTIONS
> 
> otherwise C++ programs with use __P and turn off exceptions via
> gcc's -fno-exceptions option will not compile.

Why will they not compile?  This looks like a bug in GCC not in
glibc.  Show me an example - and please note that __P is internal to
glibc.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj



reply via email to

[Prev in Thread] Current Thread [Next in Thread]