[Interest] Qt 5.5.1 qmath.h redefines math.h macros with VS2013

Martijn Buijs martijn.buijs at gmail.com
Tue Jan 5 16:20:00 CET 2016


I'm not sure if it's really the same problem, but it looks similar to
the problem described in this bug report:
https://bugreports.qt.io/browse/QTBUG-45935

On 5 January 2016 at 15:24, Mike Jackson <imikejackson at gmail.com> wrote:
> We just switched up to Qt 5.5.1 for our project and now we are getting the following warnings through out our code base:
>
>
> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(1303) : warning C4005: 'M_2_SQRTPI' : macro redefinition
> C:\DREAM3D_SDK\Qt5.5.1\5.5\msvc2013_64\include\QtCore\qmath.h(176) : see previous definition of ‘M_2_SQRTPI'
>
> Has anyone ever seen this and if so, what is the correct solution?
>
> Thanks
> Mike Jackson
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list