lkml.org 
[lkml]   [2020]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] proc: rename "catch" function argument
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@gmail.com> 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@gmail.com>
>
> Was this intentional?

In Russia, C++ mangles you! :^)

\
 
 \ /
  Last update: 2020-04-16 19:23    [W:0.071 / U:2.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site