Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

warn.h File Reference

#include <cstdio>
#include "config.h"

Go to the source code of this file.

Defines

#define WARNX(level, fmt...)
#define WARN(fmt...)   WARNX(Warning, fmt)

Enumerations

enum  Warn_level { Error = 0, Warning = 1 }


Define Documentation

#define WARN fmt...   )     WARNX(Warning, fmt)
 

#define WARNX level,
fmt...   ) 
 

Value:

do {                                            \
       if (level   < Config::warn_level)        \
         {                                      \
           printf("\n\033[31mKERNEL: ");        \
           printf(fmt);                         \
           printf("\033[m\n");                  \
         }                                      \
     } while (0)


Enumeration Type Documentation

enum Warn_level
 

Enumeration values:
Error 
Warning 


Generated on Mon Sep 26 14:20:13 2005 for Fiasco by  doxygen 1.4.2