This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] New warning for extra semicolons after in-class function definitions
On Mon, Apr 10, 2017 at 12:32 PM, Mike Stump <mikestump@comcast.net> wrote:
> On Apr 9, 2017, at 1:53 PM, Volker Reichelt <v.reichelt@netcologne.de> wrote:
>>>> +Wextra-semi
>>>> +C++ Var(warn_extra_semi) Warning
>>>> +Warn about semicolon after in-class function definition.
>>>> +
>
>> Right now, the patch enables the warning only for C++.
>> Would it make sense to enable it also for ObjC++?
>
> This is reversed. Always do the exact same thing for Objective-C++ as for C++ (unless there is a compelling reason why not). I don't see any reason why we should avoid Objective-C++ in this case.
Agreed. OK with that change.
Jason