Skip to content

Commit 823cc4e

Browse files
committed
CI-unixish.yml: generate all warnings in NONNEG build
1 parent 24dfe7b commit 823cc4e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/CI-unixish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,10 @@ jobs:
239239
run: |
240240
brew install coreutils
241241
242+
# TODO: avoid duplicating compiler flags from Makefile
242243
- name: Check syntax with NONNEG
243244
run: |
244-
ls lib/*.cpp | xargs -n 1 -P $(nproc) g++ -fsyntax-only -std=c++0x -Ilib -Iexternals -Iexternals/picojson -Iexternals/simplecpp -Iexternals/tinyxml2 -DNONNEG
245+
ls lib/*.cpp | xargs -n 1 -P $(nproc) g++ -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-sign-compare -Wno-multichar -Woverloaded-virtual -fsyntax-only -std=c++11 -Ilib -Iexternals -Iexternals/picojson -Iexternals/simplecpp -Iexternals/tinyxml2 -DNONNEG
245246
246247
build_cmake_boost:
247248

0 commit comments

Comments
 (0)