[DVDnav-discuss] [PATCH] Fix strict-aliasing warnings

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Sun Dec 9 22:45:30 CET 2012


On Tuesday, 06 November 2012 at 20:52, Reimar Döffinger wrote:
> Hello,
> gcc complains about this both in SVN and Erik's git repo.
> Using a union is supposedly safe for gcc at least, but I don't know
> about other compilers.
> I think the bitfield is simply a bad idea in general...
> An alternative would be to use memcpy.

Patch applied.

Regards,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"


More information about the DVDnav-discuss mailing list