From: Romain Forlot <romain.forlot@iot.bzh>
Date: Wed, 12 Jul 2017 15:42:16 +0000 (+0200)
Subject: Fix: compile error initializing afb_auth struct.
X-Git-Tag: 4.0.0~18
X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=241147061ed43e22c4a28548d2a9187c4f409ece;p=apps%2Flow-level-can-service.git

Fix: compile error initializing afb_auth struct.

std=c++11 isn't needed.
Added new class to the build and comment an other that
isn't used.

Change-Id: Ic32dead5e1ab55e0405f5e70224e4dad2c066116
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
---

diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 9d7e97d..3f36105 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -67,9 +67,7 @@ set (PKG_REQUIRED_LIST
 
 # Static constante definition
 # -----------------------------
-add_compile_options(-D_REENTRANT)
 add_compile_options(-DPB_FIELD_16BIT)
-add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-std=c++11>)
 add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-pthread>)
 
 # Customize link option
diff --git a/low-can-binding/CMakeLists.txt b/low-can-binding/CMakeLists.txt
index cd38fca..fd68e6c 100644
--- a/low-can-binding/CMakeLists.txt
+++ b/low-can-binding/CMakeLists.txt
@@ -24,6 +24,7 @@ PROJECT_TARGET_ADD(low-can)
 	add_library(${TARGET_NAME} MODULE
 		binding/${TARGET_NAME}-hat.cpp
 		binding/${TARGET_NAME}-cb.cpp
+		binding/${TARGET_NAME}-socket.cpp
 		binding/${TARGET_NAME}-subscription.cpp
 		binding/application.cpp
 		binding/application-generated.cpp
@@ -40,7 +41,7 @@ PROJECT_TARGET_ADD(low-can)
 		utils/openxc-utils.cpp
 		utils/timer.cpp
 		utils/socketcan.cpp
-		utils/socketcan-raw.cpp
+		#utils/socketcan-raw.cpp
 		utils/socketcan-bcm.cpp
 		utils/config-parser.cpp)