https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121272
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Can't reproduce with a cross: ./cc1plus.r16-2580 -quiet -nostdinc -std=c++14 -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -Wno-long-long -Wno-implicit-fallthrough -Werror -fno-exceptions -fno-rtti pr121272.ii Though, if the command really was g++ rather than .../xg++ -B .../ then I wonder if g++ is not the system gcc rather than newly built one. In that case the question is how was gcc configured and why it uses -Werror in that case.