Displaying 1 result from an estimated 1 matches for "imendoerff".
Did you mean:
imendoerffer
2018 Aug 12
4
GCC 5 and -Wstrict-aliasing in JSON.h
I did some more extensive testing and found that all GCCs older than 7
trigger the warning, but only if CMAKE_BUILD_TYPE=Release (which I
guess indicates optimizations are enabled).
There's a patch up for disabling the warning here:
https://reviews.llvm.org/D50607.
I still feel a little uncomfortable, because I think Jonathan makes an
excellent point -- if GCC thinks there's a