Re: [PATCH] proc: rename "catch" function argument
From: Alexey Dobriyan
Date: Thu Apr 16 2020 - 13:22:06 EST
On Wed, Apr 15, 2020 at 09:07:27PM -0700, Andrew Morton wrote:
> On Wed, 1 Apr 2020 00:09:05 +0300 Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
>
> > "catch" is reserved keyword in C++, rename it to something
> > both gcc and g++ accept.
>
> Why? Is someone compiling the kernel with g++?
I do!
https://marc.info/?l=linux-acpi&m=158343373912366&w=4
> > Rename "ign" for symmetry.
> >
> > Signed-off-by: _Z6Alexeyv <adobriyan@xxxxxxxxx>
>
> Was this intentional?
In Russia, C++ mangles you! :^)