Commit 553964dc authored by Olivier Bertrand's avatar Olivier Bertrand

- Suppress warning on non virtual descriptor

modified:
  storage/connect/CMakeLists.txt
parent ebc8a6ef
...@@ -40,6 +40,7 @@ add_definitions( -DHUGE_SUPPORT -DZIP_SUPPORT ) ...@@ -40,6 +40,7 @@ add_definitions( -DHUGE_SUPPORT -DZIP_SUPPORT )
IF(UNIX) IF(UNIX)
if(WITH_WARNINGS) if(WITH_WARNINGS)
add_definitions(-Wall -Wfatal-errors -Wextra -Wmissing-declarations) add_definitions(-Wall -Wfatal-errors -Wextra -Wmissing-declarations)
add_definitions(-Wno-non-virtual-dtor)
message(STATUS "CONNECT: GCC: All warnings enabled") message(STATUS "CONNECT: GCC: All warnings enabled")
else() else()
add_definitions(-Wall -Wfatal-errors -Wmissing-declarations) add_definitions(-Wall -Wfatal-errors -Wmissing-declarations)
...@@ -52,6 +53,7 @@ IF(UNIX) ...@@ -52,6 +53,7 @@ IF(UNIX)
add_definitions(-Wno-missing-declarations) add_definitions(-Wno-missing-declarations)
add_definitions(-Wno-int-to-pointer-cast) add_definitions(-Wno-int-to-pointer-cast)
add_definitions(-Wno-narrowing) add_definitions(-Wno-narrowing)
add_definitions(-Wno-non-virtual-dtor)
# This switch is for pure C only: # This switch is for pure C only:
# add_definitions(-Wno-implicit-function-declaration) # add_definitions(-Wno-implicit-function-declaration)
......
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