Status: New
Owner: ----
New issue 452 by spotrh: Many parameters declared but unused.
http://code.google.com/p/v8/issues/detail?id=452
When compiling v8 with -Wall (and why not do so?), gcc errors out because
the v8 code uses quite a few declared but unused parameters.
The attached patch resolves all of the cases I am aware of, by creating an
"UNUSED()" macro that, when wrapped around a parameter name, applies the
"unused" attribute to it. If the compiler is not gcc, it does nothing, but
if gcc is used, the attribute is applied and the unused parameter is safely
ignored.
This patch may also highlight some areas for improvement, where these
parameters may truly be not needed.
Attachments:
v8-svn2980-unused.patch 80.3 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---