[FFmpeg-devel] [PATCH] fix 'warning: dereferencing type-punned pointer will break strict-aliasing rules' warning
Wed Mar 5 20:00:24 CET 2008
On Wed, Mar 05, 2008 at 11:26:10AM -0500, Rich Felker wrote:
> On Wed, Mar 05, 2008 at 03:37:55PM +0100, Michael Niedermayer wrote:
> > * find out which gcc versions are affected and start a vote about dropping
> > support for them, though i will vote against droping support for 2.95
> Is the alignment essential anyway?
no, but there would be a speed loss.
> gcc 2.95.3 does NOT 8-byte-align
> int64_t anyway. It treats 4 as the maximal alignment for all types on
It ended up with aligned arrays in practice, maybe it did not work
reliably or just by luck but it did work.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The worst form of inequality is to try to make unequal things equal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel