I keep coming across this warning, and cannot for the life of me figure out what it means, nor how to prevent it. Does anyone one know?
-
Re: What is "assignment discards qualifiers from pointer target type"?
Tue, June 29, 2004 - 12:16 AMI do believe it means you're losing a "const" or other type declaration qualifier by assigning from a variable declared const (or whatever) to a variable not so declared. Either declare both variables with the same qualifiers (recommended), or use a cast to explicitly discard the qualifiers (not recommended). -
-
Re: What is "assignment discards qualifiers from pointer target type"?
Wed, February 22, 2006 - 10:10 AMJust funny, how www.google.com/search directed me to this conversation...
Now I find myself being a registered user of the Tribe and member of this discussion (Mac OS X Developers) and posting a *confirmed* message :-)
-