[DVDnav-discuss] media-libs/libdvdnav-4.2.0: gives a QA warning under >Gentoo

Erik Hovland erik at hovland.org
Tue Apr 17 20:43:11 CEST 2012


> I got today a warnign msg from the isntaller :
>
> QA: other
> QA Notice: Package triggers severe warnings which indicate that it
>           may exhibit random runtime failures.
> dvdnav.c:1175:3: warning: dereferencing type-punned pointer will break strict-
> aliasing rules
> dvdnav.c:1178:5: warning: dereferencing type-punned pointer will break strict-
> aliasing rules
> Please do not file a Gentoo bug and instead report the above QA
> issues directly to the upstream developers of this software.
> Homepage: http://dvdnav.mplayerhq.hu/
>
> Is this a harmless/useless/... info for you ?

It is harmless. We could probably do a better job of turning those
two structs into uint32_t values so that the compiler didn't complain.
If someone submitted a patch that did that, I would probably accept it ;).

E

-- 
Erik Hovland
erik at hovland.org
http://hovland.org/


More information about the DVDnav-discuss mailing list