Fixed c++11 expection warning and Cmake configuration
authorEbersold <aebersol@n3150.home>
Wed, 29 Dec 2021 09:14:23 +0000 (10:14 +0100)
committerEbersold <aebersol@n3150.home>
Wed, 29 Dec 2021 09:14:23 +0000 (10:14 +0100)
CMakeLists.txt
adt/asn1_node_classdef.h

index afa8c93003948f14103031c3b863826809adac63..9d9d0b827f1ea2fa7c3a3bcf2b3877c3e47b7deb 100644 (file)
@@ -52,7 +52,9 @@ SUBDIRS(rtasn1  pkix cstav1 ledger csta gsm h323 megaco h248)
 ENDIF(NOT CMAKE_CROSSCOMPILING)
 
 INCLUDE(${rules_SOURCE_DIR}/flex.cmake)
+# Overwrite default cached value -R.
 
+SET(LEXER_OPT "" CACHE STRING  "Lexer options for asn1" FORCE)
 IF(NOT WIN32)
 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}  -D__FILENAME__='\"$(subst ${CMAKE_CURRENT_SOURCE_DIR}/,,$<)\"'")
 ENDIF(NOT WIN32)
index 0106416bf4499d317e07ccd507660b30ec3df39e..2c9c791c377f348840cd7e19658f7a0317bd5328 100644 (file)
@@ -97,7 +97,7 @@ class state_pool {
         //!      smaller or equal (<=) to the chunk_size.
         //! \return A raw pointer to the begining of the reserved
         //!         memory space.
-        void* reserve(size_t nbytes) throw(std::logic_error) {
+        void* reserve(size_t nbytes)  {
 
             // Make sure that a Chunk can really
             // serve a request of this size.