summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-04-30 13:51:38 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2024-05-03 10:53:13 +0200
commitb4eb7a037414e453cf7377a08dbc38b3e616cb75 (patch)
tree55a93e1366d4b097a7bfd732b7a5a3f439e60dfd /pimd/pim_cmd.c
parentafb3020e285af046efb0fbe8c53e15f2244f0540 (diff)
build: get rid of "unrecognized … anon-tag"
GCC only errors out on unrecognized _positive_ `-Wsomething` flags, negative ones it ignores... but then prints a "note" about whenever an unrelated(!) warning/error occurs. This is both annoying and confusing, since we now get a lot of: ``` cc1: note: unrecognized command-line option ‘-Wno-microsoft-anon-tag’ may have been intended to silence earlier diagnostics ``` Fix by checking for the positive flag in `AC_C_FLAG` instead, which will error out, and therefore `-Wno-microsoft-anon-tag` won't be added for GCC. (It only exists on clang.) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_cmd.c')
0 files changed, 0 insertions, 0 deletions