From 75d3b160cc1bc4be4b51dbc2ed0b550464422877 Mon Sep 17 00:00:00 2001
From: esha <shadrin.e@gmail.com>
Date: Fri, 4 Apr 2014 14:12:15 +0400
Subject: [PATCH] Fixed warnings (..storage class specifier is deprecated
 [-Wdeprecated]).

---
 src/CMakeLists.txt     | 1 +
 src/box/CMakeLists.txt | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6ebb541a43..9928b8fd29 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -127,6 +127,7 @@ if (ENABLE_TRACE)
     set (common_sources ${common_sources} trace.c)
 endif()
 
+set_source_files_properties(sio.cc evio.cc replica.cc PROPERTIES COMPILE_FLAGS "-Wno-deprecated")
 set_source_files_compile_flags(${common_sources})
 add_library(core STATIC ${common_sources})
 add_dependencies(core generate_headers)
diff --git a/src/box/CMakeLists.txt b/src/box/CMakeLists.txt
index 468ce92577..fd2612ecb8 100644
--- a/src/box/CMakeLists.txt
+++ b/src/box/CMakeLists.txt
@@ -33,4 +33,5 @@ tarantool_module("box"
     box_lua.cc
     box_lua_space.cc)
 
+set_source_files_properties(box_lua.cc PROPERTIES COMPILE_FLAGS "-Wno-deprecated")
 target_link_libraries(tarantool_box bitset)
-- 
GitLab