From 20fe0482261545ce6d198803762730fce95a5ad2 Mon Sep 17 00:00:00 2001 From: odygrd Date: Sat, 7 Dec 2024 16:04:39 +0000 Subject: [PATCH] Do not add `-Wno-gnu-zero-variadic-macro-arguments` for GCC in CMake --- CHANGELOG.md | 1 + CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3b1b604..b4096378 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,7 @@ ## TBD - Suppress `-Wredundant-decls` warning in GCC builds. +- Avoid adding `-Wno-gnu-zero-variadic-macro-arguments` for GCC in CMake. ## v7.5.0 diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e468640..0ad89de8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -296,7 +296,7 @@ target_include_directories(${TARGET_NAME} # Compiler options target_compile_options(${TARGET_NAME} INTERFACE - $<$,$,$>:-Wno-gnu-zero-variadic-macro-arguments>) + $<$,$>:-Wno-gnu-zero-variadic-macro-arguments>) # Install if (QUILL_MASTER_PROJECT OR QUILL_ENABLE_INSTALL)