Hi,
I'm running into this compiler error when building Qt 4.8 with my 4.6
std::thread toolchain:
m:\Development\Source\Qt\src\corelib\tools\qdatetime.cpp: In function
> 'QDateTimePrivate::Spec utcToLocal(QDate&, QTime&)':
>
m:\Development\Source\Qt\src\corelib\tools\qdatetime.cpp:4069:18: error:
> expected unqualified-id before '=' token
> m:\Development\Source\Qt\src\corelib\tools\qdatetime.cpp:4014:12: warning:
> unused variable 'secsSince1Jan1970UTC' [-Wunused-variable]
> m:\Development\Source\Qt\src\corelib\tools\qdatetime.cpp: In function 'void
> localToUtc(QDate&, QTime&, int)':
> m:\Development\Source\Qt\src\corelib\tools\qdatetime.cpp:4163:18: error:
> expected unqualified-id before '=' token
> m:\Development\Source\Qt\src\corelib\tools\qdatetime.cpp:4116:12: warning:
> unused variable 'secsSince1Jan1970UTC' [-Wunused-variable]
I'm assuming the problem lies in the definition of localtime_r and gmtime_r.
I can't get Clang to compile the file due to a PCH issue, otherwise I'd try
to get a better error message :(
Ruben
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public