[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gtk-peer compile fixes for gcc-2.95

From: Mark Wielaard
Subject: Re: gtk-peer compile fixes for gcc-2.95
Date: Fri, 26 Mar 2004 12:41:32 +0100


On Fri, 2004-03-26 at 11:28, Michael Koch wrote:
> Am Freitag, 26. März 2004 11:09 schrieb Mark Wielaard:
> > I don't believe it is really designed for a particular C-dialect. But
> > it would be nice if it is compilable with gcc-2.95. It seems gcc-2.95
> > supports -std=c9x so we can switch to that. But I cannot figure out
> > how to convince Autoconf that I want that dialect used for my C
> > files. Clues anybody?
> Added AM_CFLAGS=-std=c89 in the is one option but it would 
> mean we need to add it to all in all dirs with native code.
> CFLAGS=$CFLAGS -std=c89
> This in is another option.
> The only problem I see is that we probably support non-gcc compilers 
> that dont support this flag. What will they do when they see it ?

Precisely. We seem to already just override CFLAGS in for
the braindead Red Hat gcc-2.96 compiler that generates wrong code for
-O2... So maybe we should just give up on other compilers then the gcc
variants out there. But I had hoped Autoconf would make it easy to
specify the wanted C dialect.



Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]