Re: odd compiler error

2005-06-23 Thread Eric Potter
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 '&' varia

Re: odd compiler error

2005-06-22 Thread Ralf Dietrich
First, i also think that the instruction is correct. It' also not a a c/cpp compiling issue, because you use a cpp-file. Try to split the instruction to the declaration / initialization and rename your variable name, e.g: struct sclRepeattestValue = pEvent->data.sclRepeat; const struct s

Re: odd compiler error

2005-06-21 Thread Wade Guthrie
Henk Jonas wrote: 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 :

Re: odd compiler error

2005-06-21 Thread Henk Jonas
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 '&' vari

odd compiler error

2005-06-21 Thread Eric Potter
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 initialize