[vlc-devel] commit: Don't treat strict-aliasing as error, this break Win32 compilation too much (Jean-Baptiste Kempf )

Rémi Denis-Courmont remi at remlab.net
Tue Aug 25 20:49:14 CEST 2009


Le mardi 25 août 2009 21:43:29 git version control, vous avez écrit :
> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 25
> 20:42:56 2009 +0200| [5ff67322e0237a3506fe4a48a7ac01dd4eda444d] |
> committer: Jean-Baptiste Kempf
>
> Don't treat strict-aliasing as error, this break Win32 compilation too much
>
> All vouts are impacted, and dmo too.

I disagree here. strict-aliasing violation can (and typically do) result in 
incorrect machine code. If *you* don't care about that, then don't disable 
warnings as errors. Otherwise, either fix the offending code, or add -fno-
strict-aliasing to its compiler flags.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list