[distcc] Include guard for exitcode.h

Martin Pool mbp at samba.org
Fri Aug 1 02:13:26 GMT 2003


On 30 Jul 2003, Frerich Raabe <raabe at kde.org> wrote:
> Moin,
> 
> the header file exitcode.h lacks an include guard. This results in annoying 
> error messages from the compiler about multiple declarations.

I don't like these in general because it seems simpler and more
efficient to just include each header once.  (At least for application
headers; system headers are an irretrievable mess.)

Is there some reason (C++ ?) why you need an include guard?  If so I
can add it.

Would you like extern "C" as well?

-- 
Martin 



More information about the distcc mailing list