The supplied file 'fio.h' causes an error when used with the IAR compiler with the definition of snprintf at line 208.
IAR ANSI C/C++ Compiler V6.30.1.53127/W32 for ARM
Copyright 1999-2011 IAR Systems AB.
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp int snprintf(char *, size_t, C:\Program Files\Freescale\Freescale MQX 3.8\lib\twrk60n512.iar\psp\fio.h 208
char const *, ...)" (declared at line 196 of "C:\Program Files\IAR Systems\Embedded Workbench 6.0\arm\
inc\c\stdio.h")
I note that the line was commented out in 3.7
Hi bob_grice,
as I noticed from your output, your project has included stdio.h header .
MQX redefines some of the functions in the stdio.h , therefore not possible to use both headers at the same time.
Regards,
MartinK