On Fri, 9 Jul 2010, Andy Dougherty wrote: > On Fri, 9 Jul 2010, Nicholas Clark wrote: > > > On Thu, Jul 08, 2010 at 11:34:23AM -0400, Andy Dougherty wrote: > > > > > Perl generally doesn't use gcc -ansi (except for dec_osf and irix) so > > > that's not a big issue, but given that we'll need to support __inline for > > > MSVC anyway, I will restructure the probe to make that easier to > > > incorporate, and might as well test for it anyway. > > > > But it is possible to opt to turn -ansi -pedantic on (with -Dgccansipedantic > > according to Porting/pumpkin.pod), which has been useful at trying to keep > > the code portably clean when all you have is a hammer, er gcc. Also, I forgot about the, er, interesting gymnastics that cflags.SH goes through, which can also add in -ansi on certain platforms. [Mumble, grumble, as I reorder the variants, rebuild from scratch, and re-redploy for testing yet again.] -- Andy Dougherty doughera@lafayette.eduThread Previous | Thread Next