develooper Front page | perl.perl5.porters | Postings from July 2010

Re: [PATCH] Configure probe for static inline

Thread Previous | Thread Next
From:
Andy Dougherty
Date:
July 9, 2010 10:11
Subject:
Re: [PATCH] Configure probe for static inline
Message ID:
alpine.DEB.2.00.1007091232520.5883@fractal.phys.lafayette.edu
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.edu


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About