[distcc] Use mon.h in C++

Martin Pool mbp at samba.org
Mon Jul 7 02:55:50 GMT 2003


On  3 Jul 2003, Fr?d?ric Forjan <forjan at essi.fr> wrote:
> Hi every body,
> 
> I have make my own distcc monitor in C++ with QT library...
> I want to know why you don't use in mon.h the
> 
> #ifdef __cplusplus
> extern "C" {
> #endif
> 
> ...
> 
> 
> #ifdef __cplusplus
> }
> #endif
> 
> in order to use it with C++ without modification ??
> In same order, there is no protection for multiple inclusion, why ? it 
> should be great to do that !

Thankyou for the suggestion.  Both are now fixed in CVS.

Please let us know when you have your program working!

-- 
Martin 



More information about the distcc mailing list