Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3480 in orxonox.OLD


Ignore:
Timestamp:
Mar 10, 2005, 8:23:23 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: less warnings in Windows due to ERROR→ERR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/defs/debug.h

    r3475 r3480  
    2323
    2424#define NO              0
    25 #define ERROR           1
    26 #define WARNING         2
    27 #define INFORMATION     3
     25#define ERR             1
     26#define WARN            2
     27#define INFO            3
    2828#define DEBUGING        4
    2929
     
    4343           PRINTF ## x
    4444
    45 #if DEBUG >= ERROR
     45#if DEBUG >= ERR
    4646#define PRINTF1 \
    47     if (verbose >= ERROR) \
     47    if (verbose >= ERR) \
    4848      printf("%s:%d::ERROR:", __FILE__, __LINE__) && printf
    4949#else
     
    5151#endif
    5252     
    53 #if DEBUG >= WARNING
     53#if DEBUG >= WARN
    5454#define PRINTF2 \
    55      if (verbose >= WARNING) \
     55     if (verbose >= WARN) \
    5656       printf("%s:%d::WARNING:", __FILE__, __LINE__) && printf
    5757         
     
    6060#endif
    6161     
    62 #if DEBUG >= INFORMATION
     62#if DEBUG >= INFO
    6363#define PRINTF3 \
    64      if (verbose >= INFORMATION) \
     64     if (verbose >= INFO) \
    6565       printf("%s:%d::INFO:", __FILE__, __LINE__) && printf
    6666#else
     
    9393  PRINT ## x
    9494
    95 #if DEBUG >= ERROR
     95#if DEBUG >= ERR
    9696#define PRINT1  \
    97   if (verbose >= ERROR) \
     97  if (verbose >= ERR)   \
    9898    printf
    9999#else
     
    101101#endif
    102102
    103 #if DEBUG >= WARNING
     103#if DEBUG >= WARN
    104104#define PRINT2 \
    105   if (verbose >= WARNING) \
     105  if (verbose >= WARN) \
    106106    printf
    107107
     
    110110#endif
    111111
    112 #if DEBUG >= INFORMATION
     112#if DEBUG >= INFO
    113113#define PRINT3 \
    114   if (verbose >= INFORMATION) \
     114  if (verbose >= INFO) \
    115115    printf
    116116#else
Note: See TracChangeset for help on using the changeset viewer.