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

Re: [PATCH] Configure probe for static inline

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
July 9, 2010 03:24
Subject:
Re: [PATCH] Configure probe for static inline
Message ID:
20100709102430.GU31795@plum.flirble.org
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.

Last I checked, of the platforms I had access to, it was most useful on
FreeBSD, where the system headers are clean. (And cleaner than Solaris, which
was a shock. I don't currently have access to Solaris)

Nicholas Clark

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