Disabled annoying GCC compilation warnings in Travis config

These false positives could hide some real problem
This commit is contained in:
alexey.lysiuk 2017-10-24 15:22:16 +03:00
parent f40a31409d
commit 1e7b692c77

View file

@ -19,7 +19,7 @@ matrix:
compiler: gcc compiler: gcc
env: env:
- GCC_VERSION=5 - GCC_VERSION=5
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release" - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-Wno-maybe-uninitialized"
addons: addons:
apt: apt:
sources: sources:
@ -32,7 +32,7 @@ matrix:
compiler: gcc compiler: gcc
env: env:
- GCC_VERSION=6 - GCC_VERSION=6
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo" - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS=-Wno-maybe-uninitialized"
addons: addons:
apt: apt:
sources: sources:
@ -45,6 +45,7 @@ matrix:
compiler: gcc compiler: gcc
env: env:
- GCC_VERSION=7 - GCC_VERSION=7
- CMAKE_OPTIONS="-DCMAKE_CXX_FLAGS=-Wno-implicit-fallthrough"
addons: addons:
apt: apt:
sources: sources: