Message206244
Here's a first attempt at a patch.
The Visual Studio pragma disables for the rest of the file, which is undesirable. Maybe we could turn it on and off inline, but it's not clear to me that that would have the desired effect of turning off the warning for explicitly that parameter declaration.
Also, a little googling confirms that clang supports the GCC __attribute((unused)) extension, so I just went with that. |
|
Date |
User |
Action |
Args |
2013-12-15 17:18:06 | larry | set | recipients:
+ larry, vstinner, skrah |
2013-12-15 17:18:06 | larry | set | messageid: <1387127886.64.0.968380167158.issue19976@psf.upfronthosting.co.za> |
2013-12-15 17:18:06 | larry | link | issue19976 messages |
2013-12-15 17:18:06 | larry | create | |
|