[Interest] Compilation of Qt5 beta2 stopped

Michael Sué sue at nf.mpg.de
Wed Nov 28 10:56:38 CET 2012

I configured:

configure -no-openssl -I c:\qt\icu\include -L c:\qt\icu\lib64 -icu -sse2 -platform win32-msvc2010

and the script successfully built qmake using the MSVC 64-bit cross-compiler on WINDOWS 7 64-bit.

Then I entered nmake and the compilation stopped after some seconds at the line

c:\qt\5.0.0\qtbase\include\qtcore\../../src/corelib/tools/qdatetime.h(104) : error C2589: '(' : illegal token on right side of '::'

which is

#include <limits>
static inline qint64 nullJd() { return std::numeric_limits<qint64>::min(); }

This is especially irritating as I use std in my own programs (with Qt 4.8.3) very much in the same way, e.g.:

#include <limits>
const int VinciMath::s_int_min=std::numeric_limits<int>::min();

and there the same compiler does not complain.

So it has to be something trivial, I suppose.

BTW: I tried with the newest ICU (50_1) and the 4_0_1 version.


More information about the Interest mailing list