[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <92A2706E-B03D-4349-B271-CD7FD2FF7ED0@gmail.com>
Date: Sun, 19 Oct 2014 16:25:49 -0700
From: pinskia@...il.com
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Aaro Koskinen <aaro.koskinen@....fi>,
Sasha Levin <sasha.levin@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kernel: use the gnu89 standard explicitly
> On Oct 19, 2014, at 4:05 PM, Linus Torvalds <torvalds@...ux-foundation.org> wrote:
>
>> On Sun, Oct 19, 2014 at 2:03 PM, Aaro Koskinen <aaro.koskinen@....fi> wrote:
>>
>> Here's one example how it fails: http://marc.info/?l=gcc&m=141349914632010&w=2
>
> Ok, that just looks like a gnu11 bug, then. Not being able to
> initialize structures because some sub-structure has a volatile member
> is just pure BS.
>
> Has anybody reported this as a gcc bug? That email may be on the gcc
> list, but I'm not seeing anybody acknowledge it as a bug..
Yes it was reported and both problems relating to this extension has been added to gnu99 and gnu11. Though there are other issues with the kernel dealing with extern inline have different semantics between gnu89 and gnu99/11.
Thanks,
Andrew
>
> I cannot imagine that anybody sane claims that this is *wanted*
> behavior from "gnu11".
>
> Linus
--
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