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

Re: ANSI requirement

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
June 11, 2010 10:15
Subject:
Re: ANSI requirement
Message ID:
20100611191454.74aa31a8@pc09.procura.nl
On Fri, 11 Jun 2010 17:01:17 +0000, Ævar Arnfjörð Bjarmason
<avarab@gmail.com> wrote:

> On Mon, May 31, 2010 at 12:01, H.Merijn Brand <h.m.brand@xs4all.nl> wrote:
> 
> > diff --git a/INSTALL b/INSTALL
> > index b0c31eb..8f09a7e 100644
> > --- a/INSTALL
> > +++ b/INSTALL
> > @@ -36,6 +36,11 @@ any prefix location by adding "-Dprefix='/some/dir'" to Configure's args.
> >  To explicitly name the perl binary, use the command
> >  "make install PERLNAME=myperl".
> >
> > +Building perl from source requires an ANSI compliant C-Compiler.
> > +A minimum of C89 is required. Some features available in C99 will
> > +be probed for and used when found. The perl build process does not
> > +rely on anything more than C89.
> > +
> 
> I vaguely recall someone mentioning that we rely on some features of C
> that aren't strictly guaranteed by ANSI C, such as the the offset into
> a struct being the sum of the sizeof() of the struct members that came
> before in the struct.
> 
> Maybe I just dreamt that up and that's really guarenteed by ANSI, but
> in case I'm not misremembering things like that should probably be
> mentioned there as well.
> 
> Can anyone confirm or deny that?

I can confirm that - if something like that is indeed the case - it
should be noted. Beyond that, no bells are ringing.

-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

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