Commit 7329f853 authored by Alexander Barkov's avatar Alexander Barkov

Removing -Wfatal-errors, as it does not present in the older gcc versions.

(e.g. sol10-64 in build bot).

modified:
  storage/connect/CMakeLists.txt
parent 6edcd45e
......@@ -43,13 +43,13 @@ add_definitions( -DHUGE_SUPPORT -DZIP_SUPPORT )
# OS specific C flags, definitions and source files.
#
IF(UNIX)
# Bar: -Wfatal-errors removed (does not present in gcc on solaris10)
if(WITH_WARNINGS)
# Bar: -Wfatal-errors removed (does not present in gcc on solaris10)
add_definitions(-Wall -Wextra -Wmissing-declarations)
add_definitions(-Wno-non-virtual-dtor)
message(STATUS "CONNECT: GCC: All warnings enabled")
else()
add_definitions(-Wall -Wfatal-errors -Wmissing-declarations)
add_definitions(-Wall -Wmissing-declarations)
add_definitions(-Wno-write-strings)
add_definitions(-Wno-unused-variable)
# Bar: -Wno-unused-but-set-variables commented (does not present on sol10)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment