Revert "temp: fail build on gcc 6"

This reverts commit 574cd279
This commit is contained in:
Alexey Ochapov 2020-11-04 18:41:45 +03:00
parent 535a4e5f9b
commit f480d30ea6
No known key found for this signature in database
GPG Key ID: 9DC52E8F031B8DA8
2 changed files with 0 additions and 17 deletions

View File

@ -58,20 +58,6 @@ matrix:
packages: packages:
- g++-8 - g++-8
# ARM g++ 6 on Linux with C++14
- env: COMPILER=g++-6 BUILD=Debug STANDARD=14
compiler: gcc
arch: arm64
os: linux
dist: xenial
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
# Apple clang on OS X with C++14 # Apple clang on OS X with C++14
- env: BUILD=Debug STANDARD=14 - env: BUILD=Debug STANDARD=14
compiler: clang compiler: clang

View File

@ -83,9 +83,6 @@ function(add_fmt_test name)
if (FMT_WERROR) if (FMT_WERROR)
target_compile_options(${name} PRIVATE ${WERROR_FLAG}) target_compile_options(${name} PRIVATE ${WERROR_FLAG})
endif () endif ()
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
target_compile_options(${name} PRIVATE -fvisibility=hidden -Werror=attributes)
endif()
target_include_directories(${name} SYSTEM PUBLIC gtest gmock) target_include_directories(${name} SYSTEM PUBLIC gtest gmock)
add_test(NAME ${name} COMMAND ${name}) add_test(NAME ${name} COMMAND ${name})
endfunction() endfunction()