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;

Just for curiousity: what do you want the compiler to do? Maybe it's valid C, who knows, but I've never seen a contruction like this, or even used it. Why do you need it?

Regards
Henk
--
-------------------------------------------------------------------------
  Henk Jonas                                            [EMAIL PROTECTED]
  Palm OS ® certified developer

  Please contact me, if you need an off-side contract worker.
-------------------------------------------------------------------------

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

Reply via email to