autoconf is broken on glibc

H.J. Lu hjl@varesearch.com
Wed Jul 14 17:03:00 GMT 1999


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)


More information about the Libc-hacker mailing list