Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] cflags.SH: add -std=c89

0 views
Skip to first unread message

Jarkko Hietaniemi

unread,
Jul 15, 2006, 4:19:45 AM7/15/06
to Perl 5 Porters
How come that we haven't noticed this flag before? Has it
been there long? Feel free to tell me "since gcc 2.91"...

It should smack one in the face rather quickly if one
tries e.g. use C99 features.


c89.pat

H.Merijn Brand

unread,
Jul 15, 2006, 7:43:31 AM7/15/06
to perl5-...@perl.org, j...@iki.fi
On Sat, 15 Jul 2006 12:19:45 +0300, Jarkko Hietaniemi <j...@iki.fi> wrote:

> Jarkko Hietaniemi wrote:
> > How come that we haven't noticed this flag before? Has it
> > been there long? Feel free to tell me "since gcc 2.91"...
>

> On second thoughts, don't bother with -std=c89 on older gccs,
> revamped patch attached.

Maybe that was exactly what delayed my commit on the first version :)
Thanks, applied as change #28576

> > It should smack one in the face rather quickly if one
> > tries e.g. use C99 features.
>

> *MUAHAHA*

--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org
http://www.goldmark.org/jeff/stupid-disclaimers/

0 new messages