[Flesh-cvs] DEVELOPMENT CVS "Cactus/src/include cGH.h"

Jonathan Thornburg jthorn at aei.mpg.de
Thu Dec 21 07:50:52 CST 2006


Update of /cactusdevcvs/Cactus/src/include
In directory asylum.cct.lsu.edu:/tmp/cvs-serv1804

Modified Files:
	cGH.h 
Log Message:
remove external include guard "#ifndef _CCTK_TYPES_H" around
#include "cctk_Types.h" since this is
(a) wrong [the actual symbol is _CCTK_TYPES_H_ (with a trailing underscore)],
(b) unnecessary [cctk_Types.h already has an internal include guard,
    and modern compilers have special-case optimizations for internal
    include guards so they're just as fast at compile-time as external ones],
    and
(c) inconsistent with the 3 other files in this same directory
    (cctk_Groups.h, cctk_Misc.h, and util_Table.h) which #include
    "cctk_Types.h", none of which use an external include guard







More information about the Flesh-cvs mailing list