From 6bd69d6eaa22e74772d3b2cc1ea8de45b915f761 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Tue, 30 Oct 2018 09:03:32 +0100 Subject: [PATCH] Leave OER support in asn1c enabled OER can be disable with the switch -DASN_DISABLE_OER_SUPPORT. In F1AP, disabling OER leads to a typedef void a_type; leading to lots of compilation errors because of illegal void variable declarations. This commit leaves OER support enabled, avoiding this error. --- cmake_targets/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake_targets/CMakeLists.txt b/cmake_targets/CMakeLists.txt index ddba2fc772..ba5dc1607b 100644 --- a/cmake_targets/CMakeLists.txt +++ b/cmake_targets/CMakeLists.txt @@ -175,7 +175,6 @@ set(CMAKE_C_FLAGS set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${C_FLAGS_PROCESSOR} -std=c++11 -D'MAKE_VERSION(a,b,c)=((a)*256+(b)*16+c)'" ) -add_definitions("-DASN_DISABLE_OER_SUPPORT") #########################