Actually, sorry, my earlier statement was rubbish. But the point of the
Write-strings warning is to flag the discarding of a qualifer. Thus

    char *s = "string"; /* bad */

discards the effective const factor of the string constant. So I can't
assign const char * values to char * variables.

-- Andy.




Reply via email to