Skip to content

Commit

Permalink
Treat compiler warnings as error
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaltyagi committed Oct 10, 2019
1 parent 04a8485 commit ce0f105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/azure-pipelines/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
variables:
BUILD_DIR: '$(Agent.WorkFolder)/build'
GOOGLE_TEST_DIR: '$(Agent.WorkFolder)/googletest'
CMAKE_CXX_FLAGS: '-Wall -Wextra -Wabi -O2'
CMAKE_CXX_FLAGS: '-Wall -Wextra -Wabi -Werror -O2'
steps:
- script: |
brew install pkg-config qt5 libpcap brewsci/science/openni
Expand Down
2 changes: 1 addition & 1 deletion .ci/azure-pipelines/build-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
container: env1604
variables:
BUILD_DIR: '$(Agent.BuildDirectory)/build'
CMAKE_CXX_FLAGS: '-Wall -Wextra -Wabi -O2'
CMAKE_CXX_FLAGS: '-Wall -Wextra -Wabi -Werror -O2'
steps:
- script: |
mkdir $BUILD_DIR && cd $BUILD_DIR
Expand Down

0 comments on commit ce0f105

Please sign in to comment.