Brecht Van Lommel added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20221>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to