Wish: Variable Not Used Warning
Jarrett Billingsley
kb3ctd2 at yahoo.com
Tue Jul 8 08:47:40 PDT 2008
"Sean Kelly" <sean at invisibleduck.org> wrote in message
news:g4vvtg$2237$1 at digitalmars.com...
> And regarding this particular issue, it's not uncommon to have unused
> function parameters. And while C++ allows them to be left out:
>
> void fn( int ) {}
>
> D does not. A warning for this would be terribly annoying.
Are you sure about that? Cause that compiles and runs in D.
More information about the Digitalmars-d
mailing list