/ Vijos / 讨论 / Vijos /

这是怎么了??

In file included from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\cmath:44:0,
from foo.cpp:3:
c:\mingw\include\math.h: In function 'float hypotf(float, float)':
c:\mingw\include\math.h:635:30: error: '_hypot' was not declared in this scope
{ return (float)(_hypot (x, y)); }
^

我不管怎么修改头文件,总会出现以上编译错误。
本地都编译N遍了!!

8 条评论

  • 1