mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
parent
613d980ff4
commit
26710729a3
@ -68,8 +68,10 @@ namespace Genode {
|
||||
*/
|
||||
#ifdef GENODE_RELEASE
|
||||
#define DO_PDBG false
|
||||
#define DO_PWRN false
|
||||
#else
|
||||
#define DO_PDBG true
|
||||
#define DO_PWRN true
|
||||
#endif /* GENODE_RELEASE */
|
||||
|
||||
/**
|
||||
@ -96,7 +98,8 @@ namespace Genode {
|
||||
* Print warning message
|
||||
*/
|
||||
#define PWRN(fmt, ...) \
|
||||
Genode::printf(ESC_WRN fmt ESC_END "\n", ##__VA_ARGS__ )
|
||||
if (DO_PWRN) \
|
||||
Genode::printf(ESC_WRN fmt ESC_END "\n", ##__VA_ARGS__ )
|
||||
|
||||
/**
|
||||
* Print error message
|
||||
|
Loading…
x
Reference in New Issue
Block a user