mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 10:05:49 +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
|
||||
-Wpedantic
|
||||
-Wno-sign-compare
|
||||
-Wno-deprecated-comma-subscript
|
||||
$<$<CXX_COMPILER_ID:GNU>:-Wshadow=local>
|
||||
$<$<CXX_COMPILER_ID:GNU>:-Wno-attributes>
|
||||
$<$<CXX_COMPILER_ID:Clang>:-Wshadow>
|
||||
|
Loading…
Reference in New Issue
Block a user