diff options
author | Lutz Helwing <lutz_helwing@mentor.com> | 2015-09-24 15:33:27 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2015-10-07 10:39:43 +0200 |
commit | 991b35abfe13c472de12e915299b05b80cb9ad20 (patch) | |
tree | 84ba0d685601cb8ee7fbd1b7a019d501436a5a04 | |
parent | a36766b285749d2ac13dfefa9515b0ed6d94f1a9 (diff) | |
download | DLT-daemon-991b35abfe13c472de12e915299b05b80cb9ad20.tar.gz |
Fixed include in dlt_cpp_extension.hpp WITH_DLT_CXX11_EXT defaults to OFF to retain compatibility with old systems
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | include/dlt/dlt_cpp_extension.hpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ae59698..18eea73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ option(WITH_DLT_EXAMPLES "Set to ON to build src/examples binaries" option(WITH_DLT_SYSTEM "Set to ON to build src/system binaries" ON) option(WITH_DLT_DBUS "Set to ON to build src/dbus binaries" ON) option(WITH_DLT_TESTS "Set to ON to build src/test binaries" ON) -option(WITH_DLT_CXX11_EXT "Set to ON to build C++11 extensions" ON) +option(WITH_DLT_CXX11_EXT "Set to ON to build C++11 extensions" OFF) # RPM settings set( GENIVI_RPM_RELEASE "1")#${DLT_REVISION}") set( LICENSE "Mozilla Public License Version 2.0" ) diff --git a/include/dlt/dlt_cpp_extension.hpp b/include/dlt/dlt_cpp_extension.hpp index 1eaf4d2..fe344e5 100644 --- a/include/dlt/dlt_cpp_extension.hpp +++ b/include/dlt/dlt_cpp_extension.hpp @@ -27,12 +27,13 @@ #ifndef DLT_CPP_EXTENSION_HPP #define DLT_CPP_EXTENSION_HPP -#include <dlt/dlt.h> #include <string> #include <vector> #include <list> #include <map> +#include "dlt.h" + template<typename T> int32_t logToDlt(DltContextData &log, T const &value) = delete; |