svn rev #19169: trunk/src/ include/ lib/crypto/crc32/ lib/gssapi/krb5/ lib/gssapi/mechglue/ ...
Chaskiel M Grundman
cg2v at andrew.cmu.edu
Mon Feb 19 11:42:55 EST 2007
--On Sunday, February 18, 2007 09:41:14 PM -0500 Ken Raeburn
<raeburn at mit.edu> wrote:
> Actually, the compiler is wrong, if it's reporting these as errors --
> they're compatible. They don't have to be the same.
It isn't an error to use a non-const object in a const parameter, and the
compiler would be wrong to treat it as such. What is an error is for the
definition of a function to be different from any of it's declarations (or
prototypes). That seems to be what this patch is changing.
More information about the krbdev
mailing list