mirror of
https://github.com/triqs/dft_tools
synced 2024-11-18 12:03:50 +01:00
[cmake] Disable warnings about use of comma operator in subscript operator
This commit is contained in:
parent
bcaf78501b
commit
d72b245d56
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user