[distcc] Include guard for exitcode.h

Martin Pool mbp at samba.org
Tue Aug 5 02:10:53 GMT 2003


On  1 Aug 2003, Frerich Raabe <raabe at kde.org> wrote:
> Am Friday 01 August 2003 04:13 schrieb Martin Pool:
> > On 30 Jul 2003, Frerich Raabe <raabe at kde.org> wrote:
> > > the header file exitcode.h lacks an include guard. This results in
> > > annoying error messages from the compiler about multiple declarations.
> 
> > Is there some reason (C++ ?) why you need an include guard?  If so I
> > can add it.
> 
> The reason I want it is that right now my source files are coupled (one source 
> file has to know which other source file(s) include exitcode.h, in the worst 
> case I get a lot of header files coupled to each other just because one end 
> of the chain needs an include file which in turn includes
> exitcode.h.

OK, done!

-- 
Martin 



More information about the distcc mailing list