This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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 flag; 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 wrong ...looking
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |