[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1413754284.7076.1.camel@perches.com>
Date: Sun, 19 Oct 2014 14:31:24 -0700
From: Joe Perches <joe@...ches.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Sasha Levin <sasha.levin@...cle.com>
Subject: Re: [PATCH] kernel: use the gnu89 standard explicitly
On Sun, 2014-10-19 at 13:46 -0700, Linus Torvalds wrote:
> On Oct 19, o2014 1:24 PM, "Joe Perches" <joe@...ches.com> wrote:
> >
> > I think it'd be moderately painful.
> >
> > There are ~1000 uses of variables like "<some_type> new" in the kernel.
>
> So? That's not a C11 violation last I saw. The whole "new" keyword is still
> just a C++ problem AFAIK.
>
> And if that is some stupid gcc5 thing, maybe just turning off that
> particular gcc bug is possible?
My mistake, false premise.
Use of the <some_type> new is not an issue with
gcc 4.9 -std=gnu11.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists