#include "../include/base.h"
#include <iostream>
#include <signal.h>
#include "../tool/i18n.h"
#include <sys/types.h>
#include <unistd.h>
Include dependency graph for error.cpp:
Go to the source code of this file.
Functions | |
void | WakeUpDebugger () |
void | MissedAssertion (const char *filename, unsigned long line, const char *message) |
void | TriggerError (const char *filename, unsigned long line, const std::string &txt) |
void MissedAssertion | ( | const char * | filename, | |
unsigned long | line, | |||
const char * | message | |||
) |
Definition at line 45 of file error.cpp.
00047 { 00048 std::cout << std::endl; 00049 std::cerr << filename << ':' << line 00050 << ": Missed assertion \"" << message << "\"." 00051 << std::endl; 00052 #if defined DEBUG 00053 WakeUpDebugger(); 00054 abort(); 00055 #endif 00056 }
Here is the call graph for this function:
void TriggerError | ( | const char * | filename, | |
unsigned long | line, | |||
const std::string & | txt | |||
) |
void WakeUpDebugger | ( | ) |