Skip to content

Commit

Permalink
[vault] Remove Werror from build flags. Contributes to JB#44876
Browse files Browse the repository at this point in the history
Gcc 4.9 incorectly thinks tests_common.hpp string() is unused, used
via macro and template. Not necessarily the most needed method, but
since Werror will cause this sort of compiler update problems, let's
just remove that flag.
  • Loading branch information
pvuorela committed Feb 21, 2019
1 parent 7662485 commit 5a3134c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -20,7 +20,7 @@ find_package(Qt5Core REQUIRED)
find_package(Cor REQUIRED)

set(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -fPIC -W -Wall -Wextra -Werror -g -O2 -std=c++0x")
"${CMAKE_CXX_FLAGS} -fPIC -W -Wall -Wextra -g -O2 -std=c++0x")

#-Wno-psabi is to remove next g++ warning/note:
#the mangling of 'va_list' has changed in GCC 4.4
Expand Down

0 comments on commit 5a3134c

Please sign in to comment.