Hans Leidekker wrote:
I see no warnings with -Wwrite-strings and -Wcast-qual.
-Hans
Hans,
Yes, you are right. Of course, the values are being taken from the SDK elements, not being assigned to them, so the local variable can and should be constified.
-- Andy.