[Python-Dev] Py_DECREF causes spurious gcc warning (original) (raw)

Martin v. Löwis martin at v.loewis.de
Wed Dec 17 17:59:09 EST 2003


"Edward C. Jones" <edcjones at erols.com> writes:

silly.c: In function silly':_ _silly.c:5: warning: suggest explicit braces to avoid ambiguous else'

I doubt if there is any bug in PyDECREF. But would it be possible to jiggle the PyDECREF macros to suppress this message?

It would be possible. Can you please submit a bug report? Or, better yet, a patch?

Regards, Martin



More information about the Python-Dev mailing list