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]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]