Skip to content

Commit

Permalink
Merge pull request #1223 from DARMA-tasking/1222-gcc-5-spurious-warnings
Browse files Browse the repository at this point in the history
1222: ci: do not warn about unused variables in gcc-5 build
  • Loading branch information
cz4rs authored Jan 18, 2021
2 parents 14ecb0e + c6f0f06 commit a8d31d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/azure/azure-gcc-5-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ variables:
VT_MIMALLOC: 0
VT_DOCS: 0
VT_ASAN: 0
VT_WERROR: 0
VT_WERROR: 1
VT_POOL: 1
VT_EXTENDED_TESTS: 1
VT_UNITY_BUILD: 1
Expand Down
3 changes: 3 additions & 0 deletions cmake-modules/SetCXXCompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
if (NOT (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 5 OR CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 5))
message("${PROJECT_NAME} currently requires g++ 5 or greater. If you need it to work with 4.9, please complain.")
endif ()
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6)
list(APPEND CXX_STANDARD_FLAGS -Wno-unused-variable)
endif()
elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
set(CXX_STANDARD_FLAGS -ftemplate-depth=900)
if (APPLE)
Expand Down
1 change: 0 additions & 1 deletion scripts/workflows-azure.ini
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ compiler_type = gnu
compiler = gcc-5
output_name = ci/azure/azure-gcc-5-ubuntu-mpich.yml
cache_name = "[% linux %]-[% compiler %]-cache"
vt_werror = 0

[PR-tests-gcc-6]
test_configuration = "gcc-6, ubuntu, mpich"
Expand Down

0 comments on commit a8d31d2

Please sign in to comment.