Felix Homann
2013-May-24 13:00 UTC
[flac-dev] FLAC for Android: warning: cast increases required alignment of target type
Now that I can build FLAC again with Janne's patch I would like to report about the warnings I get when building for Android: android-make | grep warn md5.c: In function 'format_input_': md5.c:282:25: warning: cast increases required alignment of target type [-Wcast-align] md5.c:288:24: warning: cast increases required alignment of target type [-Wcast-align] decode.c: In function 'write_callback': decode.c:970:28: warning: cast increases required alignment of target type [-Wcast-align] decode.c:971:28: warning: cast increases required alignment of target type [-Wcast-align] decode.c:972:28: warning: cast increases required alignment of target type [-Wcast-align] decode.c:973:28: warning: cast increases required alignment of target type [-Wcast-align] encode.c:118:34: warning: cast increases required alignment of target type [-Wcast-align] encode.c:119:33: warning: cast increases required alignment of target type [-Wcast-align] Kind regards, Felix -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20130524/9edccdb3/attachment.htm
Martijn van Beurden
2013-May-24 16:22 UTC
[flac-dev] FLAC for Android: warning: cast increases required alignment of target type
Yes, those problems are known but weren't easy to fix. It seems they are ARM-related, as they were present on Raspbian as well. See this mail: http://lists.xiph.org/pipermail/flac-dev/2013-April/003985.html Thanks for reporting! On 24-05-13 15:00, Felix Homann wrote:> Now that I can build FLAC again with Janne's patch I would like to > report about the warnings I get when building for Android: > > android-make | grep warn > md5.c: In function 'format_input_': > md5.c:282:25: warning: cast increases required alignment of target > type [-Wcast-align] > md5.c:288:24: warning: cast increases required alignment of target > type [-Wcast-align] > decode.c: In function 'write_callback': > decode.c:970:28: warning: cast increases required alignment of target > type [-Wcast-align] > decode.c:971:28: warning: cast increases required alignment of target > type [-Wcast-align] > decode.c:972:28: warning: cast increases required alignment of target > type [-Wcast-align] > decode.c:973:28: warning: cast increases required alignment of target > type [-Wcast-align] > encode.c:118:34: warning: cast increases required alignment of target > type [-Wcast-align] > encode.c:119:33: warning: cast increases required alignment of target > type [-Wcast-align] > > Kind regards, > > Felix > > > _______________________________________________ > flac-dev mailing list > flac-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/flac-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20130524/2670240d/attachment.htm