A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-October/009845.html below:

[Python-Dev] -Wall output for the Python 2.0c1

[Python-Dev] -Wall output for the Python 2.0c1Fred L. Drake, Jr. fdrake@beopen.com
Tue, 10 Oct 2000 17:13:47 -0400 (EDT)
M.-A. Lemburg writes:
 > ceval.c: In function `eval_code2':
 > ceval.c:345: warning: `v' might be used uninitialized in this function
 > ceval.c:346: warning: `w' might be used uninitialized in this function
 > ceval.c:347: warning: `u' might be used uninitialized in this function
 > ceval.c:348: warning: `t' might be used uninitialized in this function

  These would be a real tedium to fix, and I'm not convinced the loss
of clarity is worth it.  From looking at the code in the DUP_TOPX
code, I'm led to think that the compiler just isn't smart enough (it
should figure out that oparg won't change before the second case
statement, and figure it out more carefully.  I'll bet *that* would
remove these warnings and still right in all cases.

 > errors.c: In function `PyErr_Format':
 > errors.c:409: warning: value computed is not used
 > errors.c:415: warning: value computed is not used

  Fixed.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at beopen.com>
BeOpen PythonLabs Team Member




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4