The compile_commands.json file has -std=gnu11
added to the command, but still pops up a warning about the GNU extension syntax.
#2035
-
I'm wondering if this was a bug or expected behavior? |
Beta Was this translation helpful? Give feedback.
Answered by
HighCommander4
May 11, 2024
Replies: 2 comments
-
I only get this diagnostic if my compile command explicitly contains the option |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wc7086
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I only get this diagnostic if my compile command explicitly contains the option
-Wgnu-zero-variadic-macro-arguments
. In that case, it's expected, regardless of-std=gnu11
.