IBM Support

With variable named "override" RTConfig renders incorrect code

Troubleshooting


Problem

In IBM® DevOps Model RealTime® (Model RT), if you have a variable called override, the RTConfig does not handle the code correctly.

Symptom

The override variable disappears, if you have the following sample code:
#if __cplusplus < 201103L && _MSC_VER <= 1500
#include <cstddef>
#define nullptr NULL
#define override /*override*/
#define RTUseCPP11 0
#else
#define RTUseCPP11 1
#endif

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSSID6C","label":"IBM DevOps Model RealTime"},"ARM Category":[{"code":"a8m0z000000bmhRAAQ","label":"Rational Software Architect Realtime Edition-\u003EUML RealTime Modeling"}],"ARM Case Number":"TS016159138","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.0.0"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
29 August 2024

UID

ibm17166847