Fix attribute warnings

This commit is contained in:
Nicolas Werner 2021-01-12 16:45:22 +01:00
parent 14cb3bfe10
commit c16e2467da

View file

@ -180,7 +180,7 @@ if(NOT MSVC)
-fsized-deallocation \
-fdiagnostics-color=always \
-Wunreachable-code \
-std=c++17"
-Wno-attributes"
)
if (NOT CMAKE_COMPILER_IS_GNUCXX)
# -Wshadow is buggy and broken in GCC, so do not enable it.