[Python-Dev] Compiler warnings (original) (raw)

Guido van Rossum guido at python.org
Wed Feb 1 02:59:54 CET 2006


On 1/31/06, Tim Peters <tim.peters at gmail.com> wrote:

[Thomas Wouters] > Objects/longobject.c:655: warning: 'e' may be used uninitialized in this function

Well, that's pretty bizarre. There's obviously no way to get to a reference to e without going through x = PyLongAsScaledDouble(vv, &e); first. That isn't a useful warning.

But how can the compiler know that it is an output-only argument?

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list