[Dune] [#951] Fix warning: unused parameter
Dune
flyspray at dune-project.org
Thu Sep 15 15:57:29 CEST 2011
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#951 - Fix warning: unused parameter
User who did this - Martin Nolte (nolte)
----------
What about the following trick (that seems to work with gcc):
// put the documentation here
void foo ( int x );
void foo ( int )
{
// do something
}
Seemingly, gcc does not warn when the parameter is named in a forward declaration.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=951#comment2690
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list