Re: [PATCH] kernel: use the gnu89 standard explicitly
From: Aaro Koskinen
Date: Sun Oct 19 2014 - 17:04:29 EST
Hi,
On Sun, Oct 19, 2014 at 01:05:22PM -0700, Linus Torvalds wrote:
> On Sun, Oct 19, 2014 at 9:07 AM, Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:
> > gcc5 changes the default standard to c11, rather than gnu89, which
> > makes kernel build unhappy.
(I guess the default will be gnu11 instead of c11.)
> Hmm. Just how unhappy does it make it? Maybe we can instead try to
> make the build happier with some minimal changes? Or is it really
> painful?
Here's one example how it fails: http://marc.info/?l=gcc&m=141349914632010&w=2
It's probably arch-independent as on SPARC I saw a similar failure
(I didn't test any others).
A.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/