Fix attribute warnings
This commit is contained in:
parent
14cb3bfe10
commit
c16e2467da
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user