[linux-audio-dev] [ANN] swh plugins release

Mike Rawes mike_rawes at yahoo.co.uk
Wed Dec 3 10:41:05 UTC 2003


 --- Joern Nettingsmeier <nettings at folkwang-hochschule.de> wrote: > Steve
Harris wrote:
> > On Wed, Dec 03, 2003 at 09:41:30AM +0100, Joern Nettingsmeier wrote:
> > 
> >>builds fine, except for those warnings:
> >>
> >>ladspa-util.h: In function `f_trunc':
> >>ladspa-util.h:110: warning: dereferencing type-punned pointer will break 
> >>strict-aliasing rules
> > 
> > 
> > Very true, but I dont think I asked to compiler to use strict aliasing,
> > can you send an example gcc line make spits out? I've checked a fix into
> > CVS that should stop alising for most people anyway.
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -O6 
> -fomit-frame-pointer -fstrength-reduce -funroll-loops 
> -fmove-all-movables -ffast-math -fPIC -DPIC -mcpu=i686 -march=i686  -c 
> imp_1199.so.c

-O2 will include the -fstrict-aliasing flag for gcc, so it's turned on here.
I've no idea what -O6 does (intel compiler, pgcc?). -O3 is the highest in the
gcc documentation.

Mike


________________________________________________________________________
Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs
http://www.yahoo.co.uk/robbiewilliams



More information about the Linux-audio-dev mailing list