[Python-Dev] Warnings on gcc -Wall

Guido van Rossum guido@beopen.com
Sun, 06 Aug 2000 12:23:52 -0500


>  -- readline.c -- readline/history.h is included only on BeOS, and
> otherwise prototypes are declared by hand. Does anyone remember why? 

Please don't touch that module.  GNU readline is wacky.

> -- ceval.c, in ceval() gcc -Wall (wrongly) complains about opcode and
> oparg which might be used before initialized. I've had a look at that
> code, and I'm certain gcc's flow analysis is simply not good enough.
> However, I would like to silence the warning, so I can get used to
> building with -Wall -Werror and make sure to mind any warnings. Does
> anyone see any problem with putting opcode=0 and oparg=0 near the top?

No problem.

--Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)