Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756103AbaAFVKK (ORCPT ); Mon, 6 Jan 2014 16:10:10 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:51070 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755635AbaAFVKG (ORCPT ); Mon, 6 Jan 2014 16:10:06 -0500 X-Originating-IP: 50.43.14.201 Date: Mon, 6 Jan 2014 13:09:56 -0800 From: Josh Triplett To: Andrew Morton Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , Greg Kroah-Hartman , Michal Marek , Sam Ravnborg , Rashika Kheria Subject: Re: #pragma once? Message-ID: <20140106210956.GA24603@leaf> References: <20140106204706.GA16924@leaf> <20140106130003.4eea0893605369a8fd9336ac@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140106130003.4eea0893605369a8fd9336ac@linux-foundation.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 06, 2014 at 01:00:03PM -0800, Andrew Morton wrote: > On Mon, 6 Jan 2014 12:47:07 -0800 Josh Triplett 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/