Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
biasexit.cpp
1 
2 // Jan Woetzel
3 
4 #include "biasexit.hh"
5 
6 // for exit:
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 
16 void BIAS::biasexit(const int status)
17 {
18 //#if defined(WIN32) && defined(_MSC_VER) && defined(BIAS_DEBUG)
19 // __debugbreak();
20 //#endif
21  exit(status);
22 }
23 
24 //#ifdef WIN32
25 //# pragma warning (pop)
26 //#endif //WIN32
void BIASDebug_EXPORT biasexit(const int status=1)
wrapper for exit() Disables unreachable warnings.
Definition: biasexit.cpp:16