[Devel] compiler warnings with gcc 4.1.2

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Oct 19 17:02:42 CEST 2006


Hi Juha,

I went over the gcc man page and looks like is better to keep the strict 
aliasing flag as the complier will try to optimize the code (where 
possible).
what I did was to remove the warnings related to aliasing by 
-Wno-strict-aliasing

regards,
bogdan

Juha Heinanen wrote:

>Bogdan-Andrei Iancu writes:
>
> > as first solution, as Dan suggested, we can remove the strict aliasing 
> > flag if gcc 4.1 is detected and maybe in time can find a code solution 
> > (or not).
>
>ok, that is fine with me.
>
>-- juha
>
>  
>




More information about the Devel mailing list