Message140827
| 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:14 | joshtriplett | set | recipients:
+ joshtriplett |
| 2011年07月21日 20:38:14 | joshtriplett | set | messageid: <1311280694.44.0.358463373739.issue12604@psf.upfronthosting.co.za> |
| 2011年07月21日 20:38:13 | joshtriplett | link | issue12604 messages |
| 2011年07月21日 20:38:13 | joshtriplett | create |
|