Why doesn't gcc 4 like this?
Why doesn't gcc 4 like this?
- Subject: Why doesn't gcc 4 like this?
- From: Tim Conkling <email@hidden>
- Date: Sat, 4 Jun 2005 16:38:53 -0400
For the following bit of code, gcc reports the following warning: "/
Users/tconklin/Everything Else/Programming/My Projects/Gnomez/
GnomeSpritez/source/Sprite/MySprite.cpp:298: warning: target of
assignment not really an lvalue; this will be a hard error in the
future":
short* srcRowStart;
...
((char*) srcRowStart) += framePort->getRowBytes(); <-- error here
(getRowBytes() returns a UInt32)
What does this warning mean?
Tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden