[Bug libc/18447] memstream.c:92 dereferencing type-punned pointer -Werror=strict-aliasing
darlingm at gmail dot com
sourceware-bugzilla@sourceware.org
Fri May 22 07:34:00 GMT 2015
https://sourceware.org/bugzilla/show_bug.cgi?id=18447
--- Comment #1 from darlingm at gmail dot com ---
Attempted a temporary workaround of configure
CFLAGS="-Wno-error=strict-aliasing", which errored saying "glibc cannot be
compiled without optimization"
Tried CFLAGS="-Wno-error=strict-aliasing -fno-strict-aliasing" with the same
error.
Ran across that these cflags conflict with -O2, and was able to get past it by
using CFLAGS="-Wno-error=strict-aliasing -fno-strict-aliasing -O2"
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list