RE: [GD-General] Redundant Include Guards
Brought to you by:
vexxed72
From: Arjen B. <arj...@ga...> - 2002-12-16 09:03:40
|
Not sure about that. It does have "#pragma once" though, which "specifies that the file, in which the pragma resides, will be included (opened) only once by the compiler in a build." Arjen Beij | AI Programmer Lost Boys Games | Prins Hendrikkade 139 | 1011AS Amsterdam The Netherlands Tel: +31 (0)20 4272277 | Fax: +31 (0)20 4274040 | arj...@ga... www.games.lostboys.com > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...]On Behalf Of > Dirk Ringe > Sent: Monday, December 16, 2002 09:27 > To: gam...@li... > Subject: RE: [GD-General] Redundant Include Guards > > > At least GCC is smart enough to prevent opening header files if they are > guarded by include guard defines and when they are already parsed. Whether > this applies to MSVC i do not know. > > Dirk |