Hi,
adding a const qualifier to a function parameter without changing the
handling of the parameter (e.g. copying or not copying it inside the
function) is no API breakage. Removing the const qualifier would
arguably be an API breakage though.

Compilers warn about implicitly removing a const qualifier (passing
const char * to a function taking char *) but not about implicitly
adding a const qualifier (passing char * to a function taking const char
*).

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to