diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2018-02-23 23:49:48 +0000 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2018-02-23 23:49:48 +0000 |
commit | bd56579c7d9de94c17287adefa118290e6b7ba33 (patch) | |
tree | 666d7d0b6945b442573b7a3145969f66a53aa460 /CompilerInfo.h | |
parent | b3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc (diff) |
New upstream version 1.4.0.3
Diffstat (limited to 'CompilerInfo.h')
-rw-r--r-- | CompilerInfo.h | 14 |
1 files changed, 7 insertions, 7 deletions
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 |