diff --git a/CMakeLists.txt b/CMakeLists.txt index 598dced..00a2b47 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,9 +14,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" OR CMAKE_CXX_COMPILER_FRONTEND_VARIANT add_compile_options("/utf-8" "/W4") else() add_compile_options("-Wall;-Wextra;-Wpedantic;-mtune=native") - if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") - add_compile_options("-Wno-gnu-zero-variadic-macro-arguments") - endif() if(CMAKE_SYSTEM_PROCESSOR MATCHES "AMD64|EM64T|x86_64") add_compile_options("-msse4.1") endif() diff --git a/README.md b/README.md index 5120a68..217298e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,6 @@ A modern all-platform Json/Json5 parser/serializer, which is header-only and use ``` - **meojson** 仅依赖 STL, 但需要 c++17 标准 -- 若使用 AppleClang,请在项目中添加 `-Wno-gnu-zero-variadic-macro-arguments` ## 序列化 diff --git a/README_en.md b/README_en.md index 07d678d..d925d5e 100644 --- a/README_en.md +++ b/README_en.md @@ -25,7 +25,6 @@ A modern all-platform Json/Json5 parser/serializer, which is header-only and use ``` - **meojson** only depends on STL, but requires c++17 standard -- For AppleClang, please add `-Wno-gnu-zero-variadic-macro-arguments` to your project ## Serializing