Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
biasabort.cpp
1 
2 // Jan Woetzel
3 
4 #include "biasabort.hh"
5 
6 // for abort:
7 #include <stdlib.h>
8 
9 // disable "unreachable" warning(s):
10 //#ifdef WIN32
11 //# pragma warning (push, 2)
12 //# pragma warning (push)
13 //# pragma warning (disable: 4702)
14 //#endif //WIN32
15 
17 {
18 //#if defined(WIN32) && defined(_MSC_VER) && defined(BIAS_DEBUG)
19 // __debugbreak();
20 //#endif
21  abort();
22 }
23 
24 //#ifdef WIN32
25 //# pragma warning (pop)
26 //#endif //WIN32
void BIASDebug_EXPORT biasabort()
wrapper for abort() Disables unreachable warnings.
Definition: biasabort.cpp:16