On 2017-04-28 14:34 -0600, Jeff Law wrote:
> Can you use TYPE_MAIN_VARIANT (type) here rather than building a new type?
I'll check the macros.
> Formatting problems should be obvious :-)
I'll follow the GCC formatting rules.
> I think Jason probably needs to chime in on this patch. I'm not ke
On 02/22/2017 04:01 AM, Xi Ruoyao wrote:
This patch adds warning option -Wstring-plus-int for C++.
gcc/ChangeLog:
2017-02-22 Xi Ruoyao
* c-family/c-common.h (maybe_warn_string_plus_int): new prototype
* c-family/c-warn.h (maybe_warn_string_plus_int): new function
* c
This patch adds warning option -Wstring-plus-int for C++.
gcc/ChangeLog:
2017-02-22 Xi Ruoyao
* c-family/c-common.h (maybe_warn_string_plus_int): new prototype
* c-family/c-warn.h (maybe_warn_string_plus_int): new function
* c-family/c-opt: new option -Wstring-plus-int