Samuel-Tyler / fast_ber

A C++11 ASN.1 BER Encoding and Decoding Library
Boost Software License 1.0
84 stars 11 forks source link

Missing parent namespace when generating dependant ASN.1 #41

Open Thiesius opened 2 years ago

Thiesius commented 2 years ago

When generating code for ITS-Container.asn and CAM-PDU-Descriptions as per "CAM EN 302 637-2" the generated code cannot be compiled.

Few types which are referencing from CAM to ITS are missing ITS_Container namespace. Managed to hotfix that by modifying type_as_string to make it find the module where the type occurs and then prefix it with fast_ber and module_name.