[distcc] Use mon.h in C++

Frédéric Forjan forjan at essi.fr
Thu Jul 3 14:07:07 GMT 2003


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 !


Forjan Frédéric





More information about the distcc mailing list