equal
deleted
inserted
replaced
101 #else |
101 #else |
102 # define LEMON_ASSERT_HANDLER ::lemon::assert_fail_abort |
102 # define LEMON_ASSERT_HANDLER ::lemon::assert_fail_abort |
103 #endif |
103 #endif |
104 |
104 |
105 #ifndef LEMON_FUNCTION_NAME |
105 #ifndef LEMON_FUNCTION_NAME |
106 # define LEMON_FUNCTION_NAME (__PRETTY_FUNCTION__) |
106 # if defined __GNUC__ |
|
107 # define LEMON_FUNCTION_NAME (__PRETTY_FUNCTION__) |
|
108 # elif defined _MSC_VER |
|
109 # define LEMON_FUNCTION_NAME (__FUNCSIG__) |
|
110 # else |
|
111 # define LEMON_FUNCTION_NAME (__func__) |
|
112 # endif |
107 #endif |
113 #endif |
108 |
114 |
109 #ifdef DOXYGEN |
115 #ifdef DOXYGEN |
110 |
116 |
111 /// \ingroup exceptions |
117 /// \ingroup exceptions |