Linux Compile fix and Code clean up

commented some logging lines that gave:
warning: cannot pass objects of non-POD type 'const class wxCharBuffer' 
through '...'; call will abort at runtime
This actually aborts on run time so please fix it if you wish to 
uncomment it



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4135 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-09-01 08:44:32 +00:00
parent 0f1a83c116
commit a838206f7b
4 changed files with 44 additions and 96 deletions

View File

@ -23,7 +23,6 @@
#define WARNING_LEVEL 3 // Something is suspicious.
#define INFO_LEVEL 4 // General information.
#define DEBUG_LEVEL 5 // Detailed debugging - might make things slow.
#define CUSTOM_LEVEL 6 // Custom level
namespace LogTypes
{
@ -82,7 +81,6 @@ enum LOG_LEVELS {
LWARNING = WARNING_LEVEL,
LINFO = INFO_LEVEL,
LDEBUG = DEBUG_LEVEL,
LCUSTOM = CUSTOM_LEVEL
};
} // namespace
@ -93,11 +91,11 @@ enum LOG_LEVELS {
- Debug_run() - run only in debug time
*/
#if defined LOGGING || defined _DEBUG || defined DEBUGFAST
#define MAX_LOGLEVEL DEBUG_LEVEL
#define MAX_LOGLEVEL DEBUG_LEVEL
#else
#ifndef MAX_LOGLEVEL
#define MAX_LOGLEVEL WARNING_LEVEL
#endif // loglevel
#ifndef MAX_LOGLEVEL
#define MAX_LOGLEVEL WARNING_LEVEL
#endif // loglevel
#endif // logging
#define ERROR_LOG(...) {}