[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140106130003.4eea0893605369a8fd9336ac@linux-foundation.org>
Date: Mon, 6 Jan 2014 13:00:03 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Josh Triplett <josh@...htriplett.org>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Michal Marek <mmarek@...e.cz>, Sam Ravnborg <sam@...nborg.org>,
Rashika Kheria <rashika.kheria@...il.com>
Subject: Re: #pragma once?
On Mon, 6 Jan 2014 12:47:07 -0800 Josh Triplett <josh@...htriplett.org> wrote:
> Does anyone have any objection to the use of "#pragma once" instead of
> the usual #ifndef-#define-...-#endif include guard?
Sounds OK to me. gcc has supported this for quite a long time, yes? I
wonder if ICC supports it.
(I haven't heard anything of ICC-for-kernel in a long time - is it still
a living thing?)
--
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