[C++] Coding rule enforcement
Wed Sep 16 19:34:00 GMT 2015
On September 16, 2015 6:32:46 PM GMT+02:00, "Manuel LÃ³pez-IbÃ¡Ã±ez" <email@example.com> wrote:
>On 16/09/15 16:36, Nathan Sidwell wrote:
>> On 09/16/15 10:23, Jason Merrill wrote:
>>> On 09/16/2015 08:02 AM, Nathan Sidwell wrote:
>>>> + else if (warn_multiple_inheritance)
>>>> + warning (OPT_Wmultiple_inheritance,
>>>> + "%qT defined with multiple direct bases", ref);
>>> You don't need to guard the warning with a check of the warning
>>> will only give the warning if the option is enabled.
>> hm, it didn't seem to be doing that. Perhaps I'd got something
>Perhaps because you misspelled Warning here?
>+C++ ObjC++ Var(warn_multiple_inheritance) Warninng
>+Warn on direct multiple inheritance
>The awk scripts that parse the .opt files are not as smart as they
Ouch, unrecognised keywords there should barf really loud.
More information about the Gcc-patches