Hi,

On Mon, Jul 12, 2004 at 10:00:53AM +0200, Rene Rebe wrote:
> Is there a good reason why the installed sane.h misses the usual
> header lines needed for compilation with C++?

Well, it's a C and not a C++ header and these #ifdefs are ugly :-)

Isn't it a better solution to use the extern "C" when including the
file in the C++ .C code if you really want to use sane.h in C++? Or do
we get trouble this way because it includes the structs?

> May I just commit them to CVS?

Please wait some time before doing that. Maybe someone else can tell
us real reasons not to use the extern "C" stuff.

Bye,
  Henning

Reply via email to