20010112 cstdlib failure on Linux
jarausch@belgacom.net
jarausch@belgacom.net
Sat Jan 13 05:49:00 GMT 2001
Hi,
on Linux glibc 2.1.3 kernel 2.4.0
configure seems to set
#define _GLIBCPP_HAVE_LLDIV_T 1
but this is defined within /usr/include/stdlib.h ONLY IF
__USE_ISOC9X
is defined.
So configure seems to define this, but a normal g++ run
doesn't define it. So it fails within
std_cstdlib.h
A temporary fix is to include
#ifndef __USE_ISOC9X
#define __USE_ISOC9X 1
#endif
just before
#include <stdlib.h>
within std_cstdlib.h
Thanks for looking into it,
Helmut Jarausch
Inst. of Technology
RWTH-Aachen
Germany
More information about the Gcc-bugs
mailing list