This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Brecht.Van.Lommel
Recipients Brecht.Van.Lommel, mark.dickinson, tabrezm, zach.ware
Date 2014-01-28.19:08:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390936121.64.0.902844504302.issue20221@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-01-28 19:08:41Brecht.Van.Lommelsetrecipients: + Brecht.Van.Lommel, mark.dickinson, zach.ware, tabrezm
2014-01-28 19:08:41Brecht.Van.Lommelsetmessageid: <1390936121.64.0.902844504302.issue20221@psf.upfronthosting.co.za>
2014-01-28 19:08:41Brecht.Van.Lommellinkissue20221 messages
2014-01-28 19:08:41Brecht.Van.Lommelcreate