Browse Source

make it compile on GCC 4.8

Julius Pfrommer 10 years ago
parent
commit
180cf72bb8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      CMakeLists.txt

+ 3 - 3
CMakeLists.txt

@@ -31,8 +31,8 @@ set(lib_sources
 				# src/server/ua_server_addressspace.c
 				# src/server/ua_server_binary.c
                 # src/server/ua_server_worker.c
-                # src/server/ua_securechannel_manager.c
-                # src/server/ua_session_manager.c
+                src/server/ua_securechannel_manager.c
+                src/server/ua_session_manager.c
                 # src/server/ua_services_attribute.c
                 # src/server/ua_services_session.c
                 # src/server/ua_services_discovery.c
@@ -45,7 +45,7 @@ set(lib_sources
 
 # compiler flags
 if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
-add_definitions(-std=c99 -pedantic -pipe -Wall -Wextra -Werror -Wformat
+add_definitions(-std=c99 -pipe -Wall -Wextra -Werror -Wformat
                 -Wno-unused-parameter -Wno-unused-function -Wno-unused-label -Wpointer-arith -Wreturn-type -Wsign-compare -Wmultichar
                 -Wshadow -Wcast-qual -Wmissing-prototypes -Wstrict-prototypes # -Wconversion
                 -Winit-self -Wuninitialized -Wno-deprecated -Wformat-security -ffunction-sections -fdata-sections)