[MPlayer-dev-eng] [PATCH] configure: avoid warning in endian testing

Giorgio mywing81 at gmail.com
Tue Sep 14 21:51:40 CEST 2010


> Please don't, this might allow some compilers to optimize the whole
> array way thus breaking the check.

I could live with the warning, but at this point I'd like to learn something :)
What about "return 0;" then? (see patch #1)

> It might be a good idea to check for the endian-reversed string and
> fail if neither or both were found in the binary.

See patch #2

Regards,
Giorgio Vazzana
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-configure-endian-testing-1.diff
Type: text/x-diff
Size: 522 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100914/b7b4a0d5/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-configure-endian-testing-2.diff
Type: text/x-diff
Size: 733 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100914/b7b4a0d5/attachment-0001.diff>


More information about the MPlayer-dev-eng mailing list