beautypg.com

Zilog Z8F0130 User Manual

Page 299

background image

UM013037-1212

Code Generator Warning and Error Messages

Zilog Developer Studio II – Z8 Encore!

User Manual

275

309 Interrupt function <name> cannot have arguments.

A function declared as an interrupt function cannot have function arguments.

310 Index out of range, truncating index of <num> to 255.

The compiler detected an array access outside of the 0.255 byte range. Use a tempo-
rary variable if you must access an array element outside of this range.

312 Aggregate Copy out of range, truncating copy size of <num> to 255.

The compiler limits structure sizes to 255 bytes. An attempt was made to copy struc-
tures greater than 255 bytes. Use the

memcpy

library function if structures greater than

255 bytes are required.

313 Bitfield Length exceeds x bits.

The compiler only accepts bit-field lengths of 8 bits or less for

char

bit-fields, 16 bits

or less for

short

and

int

bit-fields, and 32 bits or less for

long

bit-fields.