AnsweredAssumed Answered

MQX 3.8 - twrk60n512 - IAR compiler

Question asked by Bob Grice on May 16, 2012
Latest reply on May 17, 2012 by Martin Kojtal

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\


I note that the line was commented out in 3.7