[vlc-devel] [PATCH] Fix strict-aliasing breakages

Diego 'Flameeyes' Pettenò flameeyes at gentoo.org
Sun Jun 18 04:02:29 CEST 2006


The attached patch fixes strict-aliasing breakages that happens on VLC's code. 
This is important for compatibility with some optimisations that happens on 
arches with enough extra registers for instance.
What it does is to fix some casts here and there in the code, and to 
pass -fno-strict-aliasing for skins2 and wx plugins (skins2 is difficult to 
fix, wx library is broken in itself, so no way to fix it here, and rather 
have it a bit slower - only the interface - rather than having it broken).

HTH,
-- 
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 190_all_strict-aliasing.patch
Type: text/x-diff
Size: 2826 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060618/5f30b8d3/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060618/5f30b8d3/attachment.sig>


More information about the vlc-devel mailing list