develooper Front page | perl.perl5.porters | Postings from March 2007

Re: g++ on FreeBSD

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
March 27, 2007 13:25
Subject:
Re: g++ on FreeBSD
Message ID:
20070327202456.GA5748@plum.flirble.org
On Tue, Mar 27, 2007 at 02:32:28PM -0400, Andy Dougherty wrote:
> One reason Linux can get away with this is that it HAS_STRERROR is 
> defined, so this section of perl.h never gets invoked.
> 
> On FreeBSD, with g++, what do you get for
> 
> 	grep err config.sh
> 
> (I'm particularly interested in d_strerror, but may eventually wonder 
> about the others too, so I might as well see them all at once.)
$ grep err config.sh

d_dlerror='define'
d_strerrm='strerror(e)'
d_strerror='define'
d_strerror_r='define'
d_syserrlst='define'
i_neterrno='undef'
strerror_r_proto='REENTRANT_PROTO_I_IBW'

Odd.

> That would, of course, be the ultimate idea, but initially, I'm curious 
> why we're not finding strerror().  That might be indicative of a broader 
> problem.

Oh? :-(

I may not be responsive for at least 24 hours. I'm away playing "white van man"

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