1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0024941: Need whitespace between predecessor tokens for CLang in c++11 mode

Whitespace added between macro OCC_VERSION_STRING and string literals when concatenation of string literals is used.
This commit is contained in:
abv 2014-05-21 09:43:12 +04:00 committed by apn
parent b6a21c7e6d
commit cae42e78e5
2 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,8 @@
// commercial license or contractual agreement.
#include <Standard_Version.hxx>
#define XSTEP_PROCESSOR_VERSION "Open CASCADE %s processor "OCC_VERSION_STRING
#define XSTEP_SYSTEM_VERSION "Open CASCADE "OCC_VERSION_STRING
#define XSTEP_PROCESSOR_VERSION "Open CASCADE %s processor " OCC_VERSION_STRING
#define XSTEP_SYSTEM_VERSION "Open CASCADE " OCC_VERSION_STRING
#define XSTEP_Config OCC_VERSION_STRING
#define XSTEP_ULNames OCC_VERSION_STRING

View File

@ -64,7 +64,7 @@ STEPControl_Controller::STEPControl_Controller ()
if (!init) {
RWHeaderSection::Init(); RWStepAP214::Init();
Interface_Static::Init ("step","write.step.product.name",'t',"Open CASCADE STEP translator "OCC_VERSION_STRING);
Interface_Static::Init ("step","write.step.product.name",'t',"Open CASCADE STEP translator " OCC_VERSION_STRING);
Interface_Static::Init ("step","write.step.assembly",'e',"");
Interface_Static::Init ("step","write.step.assembly",'&',"enum 0");
Interface_Static::Init ("step","write.step.assembly",'&',"eval Off");