This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author joshtriplett
Recipients joshtriplett
Date 2011-07-21.20:38:13
SpamBayes Score 0.00017939504
Marked as misclassified No
Message-id <1311280694.44.0.358463373739.issue12604@psf.upfronthosting.co.za>
In-reply-to
Content
In _sre.c, the VTRACE macro normally gets defined to nothing.  It later gets used as the body of control structures such as "else" without braces, which causes many compilers to warn (to catch stray semicolons like "else;").  This makes it difficult to compile Python as part of a project which uses -Werror, such as GRUB.  Please consider defining VTRACE as do {} while(0) instead, as the standard convention for an empty function-like macro with no return value.
History
Date User Action Args
2011-07-21 20:38:14joshtriplettsetrecipients: + joshtriplett
2011-07-21 20:38:14joshtriplettsetmessageid: <1311280694.44.0.358463373739.issue12604@psf.upfronthosting.co.za>
2011-07-21 20:38:13joshtriplettlinkissue12604 messages
2011-07-21 20:38:13joshtriplettcreate