Made compilation with gcc and clang more strict.
authorAndrew Woloszyn <awoloszyn@google.com>
Mon, 11 Jan 2016 15:54:20 +0000 (10:54 -0500)
committerAndrew Woloszyn <awoloszyn@google.com>
Mon, 11 Jan 2016 15:54:20 +0000 (10:54 -0500)
commit7a354735739b28327c5ce065e1fae67fd9484d9a
treeed3bb84c949b33170ad5843c409891640221343f
parent43401d2ed0e4f815fcb19b8ec224c73749f44bf1
Made compilation with gcc and clang more strict.

Added additional compilation flags to gcc and clang builds.
Adds -Wall -Wextra -Wno-long-long -Wshadow -Wundef -Wconversion
-WNo-sign-conversion and -Wno-missing-field-initializers
where appropriate.

Does not add -Wundef to tests, because GTEST tests undefined
macros all over the place.
CMakeLists.txt
include/util/hex_float.h
test/BinaryDestroy.cpp
test/BinaryHeaderGet.cpp
test/BinaryParse.cpp
test/BinaryToText.cpp
test/HexFloat.cpp
test/ImmediateInt.cpp
test/TestFixture.h
test/TextToBinary.cpp
test/UnitSPIRV.h