Message209576
For Visual Studio 2013, here's how to redo the problem. Take this simple program:
#include <Python.h>
int main(int argc, char **argv)
{
return (int)hypot(rand(), rand());
}
And compile it:
cl.exe test.c -I include/python3.3 lib/python33.lib /W4
c:\program files (x86)\microsoft visual studio 12.0\vc\include\math.h(566) : warning C4717: '_hypot' : recursive on all control paths, function will cause runtime stack overflow
I don't know about the conditions to get a warning in VS 2010, never tried that version. |
|
Date |
User |
Action |
Args |
2014-01-28 19:08:41 | Brecht.Van.Lommel | set | recipients:
+ Brecht.Van.Lommel, mark.dickinson, zach.ware, tabrezm |
2014-01-28 19:08:41 | Brecht.Van.Lommel | set | messageid: <1390936121.64.0.902844504302.issue20221@psf.upfronthosting.co.za> |
2014-01-28 19:08:41 | Brecht.Van.Lommel | link | issue20221 messages |
2014-01-28 19:08:41 | Brecht.Van.Lommel | create | |
|