If declaration is incompatible with “void cs_io_putbyte(code scroll_byte)” error occur when build in AdaMulti, it is because codescroll_byte type is set as signed char or unsigned char, not char. Modify codescroll_type type in .info file of toolchain used in project analysis as the below. (You can find the .info file of toolchain in ‘Preferences’ > ‘ToolChain’ > ‘Open Configuration Folder’)

Before modification

#typeName,valueKind,min,max,size,csType
signed char,signed,-128,127,1,codescroll_byte

After modification

#typeName,valueKind,min,max,size,csType
char,signed,-128,127,1,codescroll_byte

After modification, select the toolchain and click ‘edit’ > ‘Finish’ > ‘Apply and Close’ in ‘Preferences’ > ‘ToolChain’

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.