bug-glibc
[Top][All Lists]
Advanced

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

sys/cdefs.h, adding __THROW to __P


From: Forever shall I be.
Subject: sys/cdefs.h, adding __THROW to __P
Date: Fri, 25 May 2001 23:56:29 -0500
User-agent: Mutt/1.2.5i

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.

-- 
Zinx Verituse



reply via email to

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