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

Mike Jackson imikejackson at gmail.com
Tue Jan 5 15:24:13 CET 2016


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




More information about the Interest mailing list