Simpact Cyan
Population based event driven simulation using mNRM
debugwarning.h
Go to the documentation of this file.
1 #ifndef DEBUGWARNING_H
2 
3 #define DEBUGWARNING_H
4 
13 #define DEBUGWARNING(x) \
14 {\
15  static bool showedWarning = false; \
16  if (!showedWarning) \
17  {\
18  showedWarning = true;\
19  std::cerr << "# DEBUG WARNING: " << (x) << std::endl;\
20  }\
21 }\
22 
23 #endif // DEBUGWARNING_H