Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

C++ Wrappers and IW_ENABLE_EXCEPTIONS

Sergey_A_
Beginner
490 Views
Hi! I would like to try new C++ Wrappers classes (in iw++ folders) in IPP 2018.2, but found that those are using exceptions via unconditionally defining IW_ENABLE_EXCEPTIONS to 1. So, without modifying the iw++/iw_core.h it is not possible to use error codes instead of exceptions. Can you please fix that? It should be something like that (in iw++/iw_core.h): #ifndef IW_ENABLE_EXCEPTIONS #define IW_ENABLE_EXCEPTIONS 1 // IW++ can return all errors by exceptions or by classic return codes. // Note that some errors cannot be returned by without exceptions and may be lost. #endif
0 Kudos
3 Replies
Gennady_F_Intel
Moderator
490 Views

thanks Sergey, this make sense to add. We will escalate this case.

0 Kudos
Sergey_A_
Beginner
490 Views

Any update on this issue?

I've just installed IPP 2018.3 and it is still unconditionally define IW_ENABLE_EXCEPTIONS to 1 in iw++/iw_core.h.

0 Kudos
Gennady_F_Intel
Moderator
490 Views

the fix would be available the next update of IPP.

0 Kudos
Reply