[Interest] compilation error in qdatetime

2013-11-08 Thread Graham Labdon
Hi I amusing Qt5 with Visual Studio and one of my projects is giving the following error c:\qt\qt5.1.1\5.1.1\msvc2012\include\qtcore\qdatetime.h(121): error C2589: '(' : illegal token on right side of '::' 1c:\qt\qt5.1.1\5.1.1\msvc2012\include\qtcore\qdatetime.h(121): error C2059: syntax error

Re: [Interest] compilation error in qdatetime

2013-11-08 Thread Thiago Macieira
On sexta-feira, 8 de novembro de 2013 16:36:14, Graham Labdon wrote: Hi I amusing Qt5 with Visual Studio and one of my projects is giving the following error c:\qt\qt5.1.1\5.1.1\msvc2012\include\qtcore\qdatetime.h(121): error C2589: '(' : illegal token on right side of '::'

Re: [Interest] compilation error in qdatetime

2013-11-08 Thread Graham Labdon
-project.org Subject: Re: [Interest] compilation error in qdatetime On sexta-feira, 8 de novembro de 2013 16:36:14, Graham Labdon wrote: Hi I amusing Qt5 with Visual Studio and one of my projects is giving the following error c:\qt\qt5.1.1\5.1.1\msvc2012\include\qtcore\qdatetime.h(121): error

Re: [Interest] compilation error in qdatetime

2013-11-08 Thread Thiago Macieira
On sexta-feira, 8 de novembro de 2013 17:03:32, Graham Labdon wrote: I have defined a macro named min in my code! You probably meant I have *not* defined [...] I understand. But you included a header that does define one: windows.h. Stop doing that. windows.h has a facility to ask it not to