Skip to content

Commit

Permalink
Use C++1z in tst_basic
Browse files Browse the repository at this point in the history
To avoid many warnings with gcc 7 about the noexcept changes
  • Loading branch information
ogoffart committed Jan 16, 2018
1 parent 00575db commit c793bcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ matrix:
- env: QT_VERSION=55 QT_SOURCE=551 GCC_VERSION=5
- env: QT_VERSION=56 QT_SOURCE=563 GCC_VERSION=6
- env: QT_VERSION=58 QT_SOURCE=58 GCC_VERSION=6
- env: QT_VERSION=59 QT_SOURCE=593 GCC_VERSION=7 CXXFLAGS=-Wno-noexcept-type
- env: QT_VERSION=510 QT_SOURCE=5.10.0 GCC_VERSION=7 CXXFLAGS=-Wno-noexcept-type
- env: QT_VERSION=59 QT_SOURCE=593 GCC_VERSION=7
- env: QT_VERSION=510 QT_SOURCE=5.10.0 GCC_VERSION=7

# Clang builds.
- env: QT_VERSION=56 QT_SOURCE=563 CLANG_VERSION=3.8
Expand Down Expand Up @@ -66,6 +66,6 @@ before_script:
script:
- which qmake
- qmake --version
- qmake -r QMAKE_CXXFLAGS+=$CXXFLAGS
- qmake -r
- make -j 2
- make check
1 change: 1 addition & 0 deletions tests/basic/basic.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ TARGET = tst_basic
QT = core testlib
include(../../src/verdigris.pri)
SOURCES = tst_basic.cpp
CONFIG += c++1z

0 comments on commit c793bcc

Please sign in to comment.