[Ffmpeg-devel] Please take care about strict-aliasing warnings.
Tue Mar 28 01:00:11 CEST 2006
If your code triggers a warning like this:
tscc.c:151: warning: dereferencing type-punned pointer might break
Please either fix it using unions or append -fno-strict-aliasing.
arches in which there are effective optimization done assuming the
strict aliasing rules will subtly break if you just ignore it.
currently the codec regression test is broken with the default cflags at
least on ppc, issuing a global -fno-strict-aliasing fixes the issue.
I'm trying to track the single files at least.
Please note that -Wall / -Wstrict-aliasing may not catch every issue.
More information about the ffmpeg-devel