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

Re: [PATCH] Configure probe for static inline

Thread Previous | Thread Next
Nicholas Clark
July 9, 2010 03:24
Re: [PATCH] Configure probe for static inline
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About