diff options
author | Taylor C. Richberger <taywee@gmx.com> | 2018-05-09 22:58:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-09 22:58:49 -0600 |
commit | 1823e82a452e93fc7198f95d14c042f21fc3e362 (patch) | |
tree | 6bad2c833c1de1410bac892e5ac64c2b6e312f70 | |
parent | Merge pull request #58 from bitc/master (diff) | |
parent | Add workaround for LeakSanitizer in Travis CI (diff) | |
download | args.hxx-1823e82a452e93fc7198f95d14c042f21fc3e362.tar.xz |
Merge pull request #61 from pavel-belikov/fix-gcc8-build
Fix GCC 8 build
-rw-r--r-- | .travis.yml | 30 | ||||
-rw-r--r-- | args.hxx | 2 |
2 files changed, 31 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index efba6f6..405ddac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,36 @@ matrix: - os: linux addons: apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-7'] + env: COMPILER=g++-7 CONFIG=Release + + - os: linux + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-7'] + sudo: required + env: COMPILER=g++-7 CONFIG=Debug FLAGS='-fsanitize=address,undefined -fno-sanitize-recover=all -fuse-ld=gold' + + - os: linux + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-8'] + env: COMPILER=g++-8 CONFIG=Release + + - os: linux + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-8'] + sudo: required + env: COMPILER=g++-8 CONFIG=Debug FLAGS='-fsanitize=address,undefined -fno-sanitize-recover=all -fuse-ld=gold' + + - os: linux + addons: + apt: sources: ['llvm-toolchain-precise-3.5', 'ubuntu-toolchain-r-test'] packages: ['clang++-3.5'] env: COMPILER=clang++-3.5 CONFIG=Release @@ -1761,7 +1761,7 @@ namespace args { parserCoroutine(coro.Parser()); } - catch (args::SubparserError) + catch (args::SubparserError&) { } #else |