This issue tracker is closed. Please visit UPPAAL issue tracker at Github instead.

Bug 540

Summary: C++11 compatibility (spaces between literals and identifiers)
Product: DBM Reporter: Frédéric Herbreteau <fh>
Component: debugAssignee: Marius Mikučionis <marius>
Status: ASSIGNED ---    
Severity: normal CC: marius
Priority: P5    
Version: unspecified   
Hardware: Macintosh   
OS: Mac OS   
Architecture:

Description Frédéric Herbreteau 2012-08-13 13:04:50 CEST
Hi,

C++11 requires a space between literals and identifiers. File modules/include/debug/macros.h has to be fixed putting spaces around identifier S in lines 67-73

#define RED(S)     "\033[" S ";31m"
#define GREEN(S)   "\033[" S ";32m"
#define YELLOW(S)  "\033[" S ";33m"
#define BLUE(S)    "\033[" S ";34m"
#define MAGENTA(S) "\033[" S ";35m"
#define CYAN(S)    "\033[" S ";36m"
#define WHITE(S)   "\033[" S ";37m"

Regards,
Frédéric
Comment 1 Marius Mikučionis 2019-12-19 15:09:05 CET
This has been fixed (of course), but not released with DBM library.