This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

20010112 cstdlib failure on Linux


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



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