Compile with -Werror and -Wall (#1116)

* Compile global scheduler with -Werror -Wall.

* Compile plasma manager with -Werror -Wall.

* Compile local scheduler with -Werror -Wall.

* Compile common code with -Werror -Wall.

* Signed/unsigned comparisons.

* More signed/unsigned fixes.

* More signed/unsigned fixes and added extern keyword.

* Fix linting.

* Don't check strict-aliasing because Python.h doesn't pass.
This commit is contained in:
Robert Nishihara
2017-10-12 21:00:23 -07:00
committed by Philipp Moritz
parent 3764f2f2e1
commit 486cb64e3f
22 changed files with 59 additions and 66 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
include(ExternalProject)
include(CMakeParseArguments)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -Werror -Wall -Wno-error=unused-function -Wno-error=strict-aliasing")
set(FLATBUFFERS_VERSION "1.7.1")