Message209582
Your test program works for VS2010 as well (/W4 is unnecessary, the default warning level gives the warning), but still doesn't answer the question of why the math module (specifically math.hypot) doesn't show the problem.
I understand why both of your cases *don't* work, I want to understand why mathmodule.c and cmathmodule.c (and complexobject.c, for that matter) *do* work. Attempting to compile mathmodule.c alone results in the warning, and even picking through mathmodule.i as produced by preprocessing to file, it looks like math_hypot should always have the problem.
The fact that math_hypot works when compiled with the rest of Python frankly frustrates me quite a lot, because I can see no reason why it should. |
|
Date |
User |
Action |
Args |
2014-01-28 20:17:07 | zach.ware | set | recipients:
+ zach.ware, mark.dickinson, Brecht.Van.Lommel, tabrezm |
2014-01-28 20:17:07 | zach.ware | set | messageid: <1390940227.04.0.203812486611.issue20221@psf.upfronthosting.co.za> |
2014-01-28 20:17:07 | zach.ware | link | issue20221 messages |
2014-01-28 20:17:06 | zach.ware | create | |
|