apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: cvs commit: apr/random/unix apr_random.c
Date Thu, 06 Nov 2003 13:17:15 GMT
On Wed, Nov 05, 2003 at 11:32:07PM +0000, Ben Laurie wrote:
> Branko ─îibej wrote:
> 
> > Ben Laurie wrote:
> > 
> > 
> >>Jeff Trawick wrote:
> >> 
> >>
> >>
> >>>    /* FIXME: this is not C99 or C++ or Java */
> >>>   
> >>>
> >>
> >>What's the matter? Did your editor break? :-)
> >>
> >>Besides, your revision is wrong...
> >>
> >>     /* FIXME: this is not C99 or C++ or Java or gcc */
> >> 
> >>
> > 
> > So now 'gcc' is a language. Sigh.
> > 
> > Try 'gcc -std=c89', and I suggest you always use that for compiling APR.
> 
> Jeepers. Lighten up guys!
> 
> BTW, if that should be standard, why not make it automatic (at least in
> maintainer mode)?

I'd be a bit wary about doing that: httpd uses code which is not valid
C89 if configured with GCC - designated initializers.

joe

Mime
View raw message