3
0
mirror of https://github.com/triqs/dft_tools synced 2024-09-12 05:38:31 +02:00

[cmake] Disable warnings about use of comma operator in subscript operator

This commit is contained in:
Nils Wentzell 2020-08-08 20:53:25 -04:00
parent bcaf78501b
commit d72b245d56

View File

@ -103,6 +103,7 @@ target_compile_options(${PROJECT_NAME}_warnings
-Wextra -Wextra
-Wpedantic -Wpedantic
-Wno-sign-compare -Wno-sign-compare
-Wno-deprecated-comma-subscript
$<$<CXX_COMPILER_ID:GNU>:-Wshadow=local> $<$<CXX_COMPILER_ID:GNU>:-Wshadow=local>
$<$<CXX_COMPILER_ID:GNU>:-Wno-attributes> $<$<CXX_COMPILER_ID:GNU>:-Wno-attributes>
$<$<CXX_COMPILER_ID:Clang>:-Wshadow> $<$<CXX_COMPILER_ID:Clang>:-Wshadow>