From bd56579c7d9de94c17287adefa118290e6b7ba33 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Fri, 23 Feb 2018 23:49:48 +0000 Subject: New upstream version 1.4.0.3 --- CompilerInfo.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'CompilerInfo.h') diff --git a/CompilerInfo.h b/CompilerInfo.h index c4b4464..78ba379 100644 --- a/CompilerInfo.h +++ b/CompilerInfo.h @@ -5,11 +5,11 @@ /// \def COMPILERINFO the string to identify the compiler #if defined(Q_CC_GNU) - #define COMPILERINFO QString("GCC %1.%2.%3 build: ").arg(__GNUC__).arg(__GNUC_MINOR__).arg(__GNUC_PATCHLEVEL__)+__DATE__+" "+__TIME__ + #define COMPILERINFO std::string("GCC ")+std::to_string(__GNUC__)+"."+std::to_string(__GNUC_MINOR__)+"."+std::to_string(__GNUC_PATCHLEVEL__)+" build: "+__DATE__+" "+__TIME__ #else - #if defined(__DATE__) && defined(__TIME__) - #define COMPILERINFO QString("Unknow compiler: ")+__DATE__+" "+__TIME__ - #else - #define COMPILERINFO QString("Unknow compiler") - #endif -#endif + #if defined(__DATE__) && defined(__TIME__) + #define COMPILERINFO std::string("Unknown compiler: ")+__DATE__+" "+__TIME__ + #else + #define COMPILERINFO std::string("Unknown compiler") + #endif +#endif -- cgit v1.2.3