| 1 | // This is vcl/vcl_deprecated.cxxcxx . . $ `<file>/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_deprecated.cxx`/ |
| 2 | #include <iostream> |
| 3 | #include <cstdlib> |
| 4 | |
| 5 | |
| 6 | #ifdef VXL_WARN_DEPRECATED_ABORT |
| 7 | |
| 8 | void |
| 9 | vcl_deprecated_abort( const char * func_name ) |
| 10 | { |
| 11 | std::cerr << "Function " << func_name << " is deprecated." << std::endl; |
| 12 | std::abort(); |
| 13 | } |
| 14 | |
| 15 | #else |
| 16 | |
| 17 | void |
| 18 | vcl_deprecated_warncxx . . $ vcl_deprecated_warn(85c52e162fed56f9).( const char* func_name ) |
| 19 | { |
| 20 | stdcxx . . $ std/::cerrcxx . . $ std/cerr. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "Function " <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). func_name <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). " is deprecated." <<cxx . . $ std/basic_ostream#`operator<<`(f46f7e25851d787a). stdcxx . . $ std/::endlcxx . . $ std/endl(345bf97a19cc83a9).; |
| 21 | } |
| 22 | |
| 23 | #endif |