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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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! :^)



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux