Silence the same warning as in the Makefile

As requested by https://github.com/gbdev/rgbds/pull/1899#discussion_r2943039607
This commit is contained in:
ISSOtm
2026-03-16 23:04:49 +01:00
committed by Rangi
parent 5c4ca36c5a
commit 7244b9d17e

View File

@@ -48,7 +48,7 @@ if(MSVC)
add_compile_options(/fsanitize=address) # Note that this shouldn't be passed to the linker. add_compile_options(/fsanitize=address) # Note that this shouldn't be passed to the linker.
endif() endif()
else() else()
add_compile_options(-Wall -pedantic -fno-exceptions -fno-rtti add_compile_options(-Wall -pedantic -fno-exceptions -fno-rtti -Wno-unknown-warning-option
# C++20 allows macros to take zero variadic arguments. # C++20 allows macros to take zero variadic arguments.
# Some versions of Clang don't recognize this, and treat them as a GNU extension. # Some versions of Clang don't recognize this, and treat them as a GNU extension.
-Wno-gnu-zero-variadic-macro-arguments) -Wno-gnu-zero-variadic-macro-arguments)