On Tuesday 04 August 2015 18:33:46 Lankswert, Patrick wrote:
> The specificity that I wish that we could make is "Unused variable" warning
> as warning and "Missing return from non-void function" warning as an error.
> Have you looked at this level of selection?

-Wno-error=unused-variable -Werror=return-type

You only need the -Wno-error=xxx if there's -Werror before; you only need -
Werror=xxx if there isn't.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Reply via email to