0
I’m trying to compile a c++ solution, but it’s not working. Can someone help me?
I opened a visual studio 2008 solution in visual studio 2017. When I give the build the error happens. I did not find in the project where it is included these headers (float.h and corecrt_math.h). Someone had a similar problem?
I’m using Windows SDK 10.0.17763.0 and Visual Studio 2017.
Error:
c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\float.h(311): error C2556: 'double _logb(double)': overloaded function differs only by return type from 'int _logb(double)'
c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\corecrt_math.h(512): note: see declaration of '_logb'
c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\float.h(311): error C2371: '_logb': redefinition; different basic types
c:\program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\corecrt_math.h(512): note: see declaration of '_logb'
corecrt_math. h:
_Check_return_ _ACRTIMP int __cdecl ilogb(_In_ double _X);
float. h:
_Check_return_ _ACRTIMP double __cdecl _logb(_In_ double _X);
rewrites your question in English... pt.stack.overflow.com only accepts questions in English
– zentrunix