This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Criteria for a warning to be in -Wall? (was: Re: a warning to implement)
> Sigh. In C++ there is standard syntax for saying that an argument is
> unused. For example, if the second argument is unused
This is a useful point....For C++. While I didn't state the source
language in question, it was C89 an this syntax is not valid.
> > as magic /* ARGSUNUSED */ comments recognized by others.
>
> Lint-like comments go back to the origins of C and many of them are
> recognized by multiple compilers.
But not GCC itself.
RJL