From f480d30ea6c83c612bee9a420b80e92b4df6f0db Mon Sep 17 00:00:00 2001 From: Alexey Ochapov Date: Wed, 4 Nov 2020 18:41:45 +0300 Subject: [PATCH] Revert "temp: fail build on gcc 6" This reverts commit 574cd279 --- .travis.yml | 14 -------------- test/CMakeLists.txt | 3 --- 2 files changed, 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index b2cfc8a2..ff9d167b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,20 +58,6 @@ matrix: packages: - 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 - env: BUILD=Debug STANDARD=14 compiler: clang diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 64e4d037..7ae5659d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -83,9 +83,6 @@ function(add_fmt_test name) if (FMT_WERROR) target_compile_options(${name} PRIVATE ${WERROR_FLAG}) 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) add_test(NAME ${name} COMMAND ${name}) endfunction()