[PATCH 2/5] c++: New warning option -Wstring-plus-int

Xi Ruoyao ryxi@stu.xidian.edu.cn
Sat Apr 29 07:17:00 GMT 2017


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 keen on 
> the way we stash away the arguments into orig_argX.  Perhaps he's got a 
> better suggestion.

In the recent version of Clang, this warning options has been seperated
into two options -Wstring-plus-int and -Wstring-plus-char.  Maybe I should
do the same.
-- 
Xi Ruoyao <ryxi@stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University



More information about the Gcc-patches mailing list