diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-08-28 05:08:16 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-08-28 05:08:16 -0400 |
commit | f7bc29ed2253009c9e56c597ef3d9a2bb278a876 (patch) | |
tree | 6f3bfca2a7bdc8e27429f7db4be1b126a1f8bf32 /include/sys/mtio.h | |
parent | 90edf1cc15cec685c18ec2485ddce5b655963464 (diff) | |
download | musl-f7bc29ed2253009c9e56c597ef3d9a2bb278a876.tar.gz |
remove -Wcast-align from --enable-warnings
I originally added this warning option based on a misunderstanding of
how it works. it does not warn whenever the destination of the cast
has stricter alignment; it only warns in cases where misaligned
dereference could lead to a fault. thus, it's essentially a no-op for
i386, which had me wrongly believing the code was clean for this
warning level. on other archs, numerous diagnostic messages are
produced, and all of them are false-positives, so it's better just not
to use it.
Diffstat (limited to 'include/sys/mtio.h')
0 files changed, 0 insertions, 0 deletions