On 11/19/05, Martin Costabel <[EMAIL PROTECTED]> wrote: > Alexander K. Hansen wrote: > > This kind of looks like a standards change in Apple's gcc4.0.1: > [] > > In file included from > > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:37: > > /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/varargs.h:4:2: error: > > #error "GCC no longer implements <varargs.h>." > > /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/varargs.h:5:2: error: > > #error "Revise your code to use <stdarg.h>." > > This error message from <varargs.h> was already there in 4.0.0. You > would have to find out why it wants to include it, i.e. why configure > thinks you don't have <stdarg.h>. > > Actually, looking at the code, I think this is a bug in regerror.c: It uses > > #ifdef HAVE_STDARG_PROTOTYPES > #include <stdarg.h> > > but HAVE_STDARG_PROTOTYPES is the C++ flag for existence of <stdarg.h>. > The C flag is HAVE_STDARG_H which is what they should be using there. > > -- > Martin > > > Ah makes sense. Apparently the earlier gcc flavors didn't care, because the package does build with gcc3.3 (and I'm checking 4.0.0 now).
-- Alexander K. Hansen Fink Documenter [Day Job] Levitated Dipole Experiment http://psfcwww2.psfc.mit.edu/ldx/ ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
