[Icc-avr] Specific 7.13-Beta2Compile Error

Jared Broad jared.broad at infact.co.nz
Thu Apr 26 17:25:37 PDT 2007


Hello Richard,

I just downloaded the most recent 7.13 from the website and new errors
appeared I thought you may want to know about.

!W C:\ethernut-4.2.1\nutapp-13g\Metro\DPSLog.c: [warning] in function
'DPL_RxResponse', argument 'success' has no use.
The boolean success is used in the function,
This is one of many warnings of this nature which previously were not
there,


And,
!E C:\ethernut-4.2.1\nutapp-13g\Metro\ilr\IOLib.c(40): `0' is an illegal
array size

// the LCD library
#define LCDWidth 168
#define LCDHeight 128
#define LCDVisWidth 160
u08 LCDImage[(LCDWidth * LCDHeight)/8];

When I replace the brackets with the number 2688 it works. Is the
pre-processor working correctly?
This also generates an error: u08 LCDImage[(168 * 128)/8];

Regards

Jared



More information about the Icc-avr mailing list