This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18447] memstream.c:92 dereferencing type-punned pointer -Werror=strict-aliasing


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]