Eric Potter wrote:
I'm using CodeWarrior 9.2, and I'm getting a strange compiler error. The following line of code compiles fine in the debug target, but gives the following message in the release target.

const sclRepeat& scrollRepeat = pEvent->data.sclRepeat;


Error   : 'const' or '&' variable needs initializer
DiaryDayForm.cpp line 906 const sclRepeat& scrollRepeat = pEvent->data.sclRepeat;


Eric

I was able to solve the problem. I went back to an earlier version of the SDK. I just copied the Palm OS Support and CW for Palm OS Support folders off of another machine on to my machine and now the code works again.

Eric

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to