[FFmpeg-devel] [PATCH] fix 'warning: dereferencing type-punned pointer will break strict-aliasing rules' warning

Michael Niedermayer michaelni
Wed Mar 5 12:58:35 CET 2008


On Wed, Mar 05, 2008 at 12:51:04PM +0100, Michael Niedermayer wrote:
> On Wed, Mar 05, 2008 at 09:47:26PM +1100, mark cox wrote:
> > Here is a patch to fix the 'warning: dereferencing type-punned pointer will
> > break strict-aliasing rules' warning.
> 
> patch rejected

Just to clarify even though it should be clear to every C programmer.
The warnings point to bugs, the bugs are not fixed by this patch.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080305/e5d2b321/attachment.pgp>



More information about the ffmpeg-devel mailing list