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
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
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 :
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
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