Commit 2cc5fd06 authored by Alexander Barkov's avatar Alexander Barkov

Commenting switches that are specific to C or C++ only.

modified:
  storage/connect/CMakeLists.txt
parent 494ef9d0
......@@ -51,11 +51,15 @@ IF(UNIX)
add_definitions(-Wno-unused-label)
add_definitions(-Wno-parentheses)
add_definitions(-Wno-missing-declarations)
add_definitions(-Wno-implicit-function-declaration)
add_definitions(-Wno-int-to-pointer-cast)
add_definitions(-Wno-narrowing)
add_definitions(-Wno-reorder)
add_definitions(-Wno-delete-non-virtual-dtor)
# This switch is for pure C only:
# add_definitions(-Wno-implicit-function-declaration)
# These switches are for C++ only
# add_definitions(-Wno-reorder)
# add_definitions(-Wno-delete-non-virtual-dtor)
message(STATUS "CONNECT: GCC: Some warnings disabled")
endif(WITH_WARNINGS)
......
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