Re: [PATCH] proc: rename "catch" function argument

From: Andrew Morton
Date: Thu Apr 16 2020 - 23:04:28 EST


On Thu, 16 Apr 2020 20:21:55 +0300 Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> 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
>

Lol. But why?