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

Bug 540 - C++11 compatibility (spaces between literals and identifiers)
Summary: C++11 compatibility (spaces between literals and identifiers)
Status: ASSIGNED
Alias: None
Product: DBM
Classification: Unclassified
Component: debug (show other bugs)
Version: unspecified
Hardware: Macintosh Mac OS
: P5 normal
Assignee: Marius Mikučionis
URL:
Depends on:
Blocks:
 
Reported: 2012-08-13 13:04 CEST by Frédéric Herbreteau
Modified: 2019-12-19 15:09 CET (History)
1 user (show)

See Also:
Architecture:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.