Criteria for a warning to be in -Wall? (was: Re: a warning to implement)
Robert Lipe
robertlipe@usa.net
Wed Feb 6 16:42:00 GMT 2002
> 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
More information about the Gcc
mailing list