Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

C++ Wrappers and IW_ENABLE_EXCEPTIONS

$
0
0

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


Viewing all articles
Browse latest Browse all 1489


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>