[2680] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: const char * -> char *

daemon@ATHENA.MIT.EDU (Assar Westerlund)
Tue Oct 28 15:01:43 1997

To: Ken Hornstein <kenh@cmf.nrl.navy.mil>
Cc: Ezra Peisach <epeisach@MIT.EDU>, krbdev@MIT.EDU
From: Assar Westerlund <assar@sics.se>
Date: 28 Oct 1997 21:01:45 +0100
In-Reply-To: Ken Hornstein's message of "Tue, 28 Oct 1997 14:34:25 -0500"

Ken Hornstein <kenh@cmf.nrl.navy.mil> writes:
> >Hmm - is it a fatal compiler error? If so, a configure test 
> >could be written to test for the "broken" header file - and 
> >if so, perform the cast....
> 
> Yeah, it's a fatal error (I wouldn't have asked about a warning :-) ).

Strange.  I manage to compile Heimdal (which, as Ken said, also passes
a lot of `const char *'-s to gethostbyname) under Unicos with just a
warning.

Do you use any strange flags and/or versions of the compiler?

/assar

home help back first fref pref prev next nref lref last post