exceptions

2 posts / 0 new
Last post
ilya_1725's picture
Offline
Last seen: 2 years 4 months ago
Joined: 04/20/2020
Posts: 24
Using 6.0.1 C++ API with no exceptions

This is a continuation of this question. We are using RTI version 6.0.1. Our base code has exceptions disabled with -fno-exceptions.

Is there a way to use any of the C++ APIs with no exceptions? I've tried all the different language options in rtiddsgen and except for C langiage all the generated code uses exceptions.

3 posts / 0 new
Last post
ilya_1725's picture
Offline
Last seen: 2 years 4 months ago
Joined: 04/20/2020
Posts: 24
Usung C++11 API with no exceptions

We've used the RTI traditional C++ API before with linked libraries. Now we would like to use the "modern" C++11 API.

However, our applications are compiled with exceptions disabled (-fno-exceptions). This cases the compilation to fail:

 

Keywords:
Subscribe to RSS - exceptions