137 { return fmt ("v%1 %2", versionString(), versionMoniker()); |
137 { return fmt ("v%1 %2", versionString(), versionMoniker()); |
138 } |
138 } |
139 |
139 |
140 // ============================================================================= |
140 // ============================================================================= |
141 // ----------------------------------------------------------------------------- |
141 // ----------------------------------------------------------------------------- |
142 void assertionFailure (const char* file, const ulong line, const char* funcname, const char* expr) |
142 void assertionFailure (const char* file, int line, const char* funcname, const char* expr) |
143 { str errmsg = fmt ("File: %1\nLine: %2:\nFunction %3:\n\nAssertion `%4' failed", |
143 { str errmsg = fmt ("File: %1\nLine: %2:\nFunction %3:\n\nAssertion `%4' failed", |
144 file, line, funcname, expr); |
144 file, line, funcname, expr); |
145 |
145 |
146 #ifndef RELEASE |
146 #ifndef RELEASE |
147 errmsg += ", aborting."; |
147 errmsg += ", aborting."; |