Xref: utzoo comp.lang.c:23177 comp.lang.c++:5179 gnu.g++:463 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!ginosko!brutus.cs.uiuc.edu!apple!bbn!bbn.com!rsalz From: rsalz@bbn.com (Rich Salz) Newsgroups: comp.lang.c,comp.lang.c++,gnu.g++ Subject: Re: A solution to the multiple inclusion problem Message-ID: <2051@prune.bbn.com> Date: 23 Oct 89 18:59:56 GMT References: <14240@well.UUCP> Organization: BBN Systems and Technologies Corporation Lines: 18 Gee, if #ifndef _HAVE_FOO_H_ ... contents of foo.h ... #define _HAVE_FOO_H_ #endif /* _HAVE_FOO_H_ */ is too slow, then do this: #ifndef _HAVE_FOO_H_ #include #define _HAVE_FOO_H_ #endif /* _HAVE_FOO_H_ */ John's rules about the first #ifndef after the first comment sound much too complicated for me -- I have enough problem with election day... /r$ -- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net. Use a domain-based address or give alternate paths, or you may lose out.