------- Comment #1 from ktietz at gcc dot gnu dot org 2009-06-29 11:54 ------- Well, I see. A redefinition issue. Does the following patch fixes your issue?
Index: gcc/gcc/ada/adaint.h =================================================================== --- gcc.orig/gcc/ada/adaint.h 2009-06-22 15:57:24.000000000 +0200 +++ gcc/gcc/ada/adaint.h 2009-06-29 13:52:18.896879700 +0200 @@ -48,6 +48,12 @@ large files. For now we just list the platforms we have manually tested. */ +#undef FOPEN +#undef STAT +#undef FSTAT +#undef LSTAT +#undef STRUCT_STAT + #if defined (__GLIBC__) || defined (sun) || defined (__sgi) #define FOPEN fopen64 #define STAT stat64 -- ktietz at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40578