Re: #pragma once?

From: Josh Triplett
Date: Mon Jan 06 2014 - 16:10:17 EST


On Mon, Jan 06, 2014 at 01:00:03PM -0800, Andrew Morton wrote:
> 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.

Yes, ICC supports it as well, if anyone cares.

- Josh Triplett
--
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/