[Interest] Qt 5.5.1 qmath.h redefines math.h macros with VS2013
Allan Sandfeld Jensen
kde at carewolf.com
Tue Jan 5 19:34:58 CET 2016
On Tuesday 05 January 2016, Mike Jackson 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'
>
Include cmath instead, or include math.h before qmath.h
`Allan
More information about the Interest
mailing list