ext/profile/mh.cc compile error on darwin

Jack Howarth howarth@bromo.med.uc.edu
Sun Oct 4 02:40:00 GMT 2009


Silvius,
   The ext/profile/mh.cc test case is failing to compile on *-*-darwin* due to the error...

/sw/src/fink.build/gcc45-4.4.999-20091003/gcc-4.5-20091003/libstdc++-v3/testsuite/ext/profile/mh.cc:24:20: fatal error: malloc.h: No such file or directory

This test case should be including stdlib.h rather than malloc.h as has been done in the past...

        * rts.c: Get malloc() from <stdlib.h>, not <malloc.h>.

Thanks in advance for fixing this.
           Jack



More information about the Gcc mailing list