Citect Scada V8.1 (2018) update 37 complier throws an error "F4034 Cicode Function greater than 64K"

I am coding a new Cicode file after recently installing update 37, the compiler is throwing an error 

"F4034 - Cicode Function greater than 64K" ....    solution -The code generated by a Cicode file is too large. Place the functions within the file into separate Cicode files.

I checked my file and its only 26kB whereas I have one large "existing " Cicode file at 296 kB ?

is there a parameter I need to change or has the compiler changed post update 30 to now give me this error.

Parents Reply
  • Only makes sense if it was inside the function. In that case the compiler would have to make memory reservations for the variables that would count toward the per-function limit. By placing the variable declarations before (or after) the function it changes the scope of these variables to 'module'. The compiler probably reserves a separate memory area for these.

Children
No Data