... | ... |
@@ -102,18 +102,20 @@ |
102 | 102 |
# define LEMON_ASSERT_HANDLER ::lemon::assert_fail_abort |
103 | 103 |
#endif |
104 | 104 |
|
105 | 105 |
#ifndef LEMON_FUNCTION_NAME |
106 | 106 |
# if defined __GNUC__ |
107 | 107 |
# define LEMON_FUNCTION_NAME (__PRETTY_FUNCTION__) |
108 | 108 |
# elif defined _MSC_VER |
109 | 109 |
# define LEMON_FUNCTION_NAME (__FUNCSIG__) |
110 |
# elif __STDC_VERSION__ >= 199901L |
|
111 |
# define LEMON_FUNCTION_NAME (__func__) |
|
110 | 112 |
# else |
111 |
# define LEMON_FUNCTION_NAME ( |
|
113 |
# define LEMON_FUNCTION_NAME ("<unknown>") |
|
112 | 114 |
# endif |
113 | 115 |
#endif |
114 | 116 |
|
115 | 117 |
#ifdef DOXYGEN |
116 | 118 |
|
117 | 119 |
/// \ingroup exceptions |
118 | 120 |
/// |
119 | 121 |
/// \brief Macro for assertion with customizable message |
0 comments (0 inline)