[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Heimdal libs with C++



On Tue, May 06, 2003 at 12:51:31PM +0200, Love wrote:
> Daniel Kouril <kouril@ics.muni.cz> writes:
> 
> > Hello all,
> >
> > I'm using the heimdal libraries from C++ code. In order to make the Heimdal
> > calls link correctly, I needed to wrap the Heimdal headers into `extern "C"'
> > definitions. Could this be added to the standard distributions?
> 
> Should extern "C" be wrapped around standard header too ? (<stddef.h> and
> the headers that <krb5-types.h> include)

I'm not an C++ expert so I might be wrong. But I'm using the extern "C" in
this way (i.e. headers are wrapped too), and it works fine for me (I'm
building Mozilla with krb5 support).

--
Dan