https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61234

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-05-20
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> It would be nice to have a warning (-Wuse-only) for a use-stmt without 
> explicit
> only-list. It would allow for enforcing this good style with -Werror.
>
> Extra useful would be if the warning message would list everything that would
> be required on the only-list.

IMO such a warning will generate zillions of useless diagnostics, especially on
codes factored such that most of, if not all, the public objects are supposed
to be used.

Reply via email to