Re: ANSI requirement

[email protected] ("H.Merijn Brand")
Newsgroups perl.perl5.porters
Message-ID <[email protected]>
On Fri, 11 Jun 2010 17:01:17 +0000, Ævar Arnfjörð Bjarmason
<[email protected]> wrote:

> On Mon, May 31, 2010 at 12:01, H.Merijn Brand <[email protected]> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.