Re: #pragma once?
From: Andrew Morton
Date: Mon Jan 06 2014 - 16:00:16 EST
On Mon, 6 Jan 2014 12:47:07 -0800 Josh Triplett <josh@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/