This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

autoconf is broken on glibc


Hi,

The C++ code test in autoconf is broken on glibc since autoconf puts

#ifdef __cplusplus
extern "C" void exit(int);
#endif

at the beginning of each C++ test. When <stdlib.h> from glibc is
included in the C++ test, we have

extern "C" {
...
extern void exit  (int __status)  throw ()    ;
...
};

Now all glibc based systemas are screwed due to this.


-- 
H.J. Lu (hjl@gnu.org)

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