[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [patch] Add -std=c89 to CFLAGS for gcc

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2007-08-31 03:05:37 CEST

On Thu, Aug 30, 2007 at 03:03:17PM -0700, Daniel Rall wrote:
>
> On Aug 14, 2007, at 11:09 AM, Erik Huelsmann wrote:
>
> > On 8/14/07, Daniel Rall <dlr@finemaltcoding.com> wrote:
> >>
> >> On Aug 14, 2007, at 2:38 AM, Lieven Govaerts wrote:
> >>
> >>> Quoting Erik Huelsmann <ehuels@gmail.com>:
> >>>

[...]

> >>>>
> >>>> PS: Is there something in my CFLAGS I can set to prevent this kind
> >>>> of error?
> >>>
> >>> Adding -std=c89 should have that effect.
> >>
> >> Is there any particular reason why we don't add this to Makefile by
> >> default?
> >
> > Thanks for asking, because I was wondering the same thing. I think we
> > should (when we detect GCC, that is).
>
> How about this patch, then?
>
> [[[
> * configure.in
> (CFLAGS): Add -std=c89 when gcc is detected.
> ]]]
>

This caused trouble in the past (see r11054).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 31 03:03:55 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.