https://sourceware.org/bugzilla/show_bug.cgi?id=32682
--- Comment #4 from Lorinczy Zsigmond <lzsiga at freemail dot c3.hu> ---
Thank you for help; the problem occured on Centos7.9/amd64, gcc-14.2 (compiled
from source). I have a predefined CFLAGS settings that includes `-std=c99`
Checking the compilation logs, I see lines like this (I tried to indent the
parts coming from my CPPFLAGS and CFLAGS environment variables):
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' \
-DDEBUGPRED=0 -DSRCDIR=\"/usr/local/src/elfutils-0.192/src\" \
-DOBJDIR=\"/usr/local/src/elfutils-0.192/src\" -iquote . -I. -I../lib -I.. \
-I./../libelf -I./../libebl -I./../libdw -I./../libdwelf -I./../libdwfl \
-I./../libasm -I../debuginfod \
\
-I/usr/local/include -D__UNIX__ -D__unix__ \
-D_GNU_SOURCE -D_XOPEN_SOURCE=700 -D_ALL_SOURCE -D_LARGEFILE_SOURCE \
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_THREAD_SAFE \
\
-std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition \
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond \
-Wnull-dereference -Wimplicit-fallthrough=5 -Wuse-after-free=3 -Werror \
-Wunused -Wextra \
\
-m64 -std=c99 \
\
-MT ar.o -MD -MP -MF .deps/ar.Tpo \
-c -o ar.o ar.c
So this line does contain `-std=gnu99` but is also has `-std=c99` after it.
--
You are receiving this mail because:
You are on the CC list for the bug.