[Speex-dev] [PATCH] fix gcc 3.4 warnings

Ralph Giles giles at xiph.org
Mon Sep 5 16:43:42 PDT 2005


On Tue, Sep 06, 2005 at 08:54:18AM +1000, Jean-Marc Valin wrote:

> I usually compile with several warning flags, but I prefer not to impose
> any (especially since not everyone uses gcc!).

FWIW, configure is already checking to see whether the compiler is gcc 
or not. There's an if clause in the configure scripts for ogg, vorbis, 
theora, and other of our packages that uses this to add for example 
'-O2 -Wall' to CFLAGS iff $CC is gcc. You can crib from there if you 
want.

 -r


More information about the Speex-dev mailing list