If I include <stdio.h> and <fio.h> I get the error below. I'm using IAR and C++.
Error[Pe147]: declaration is incompatible with "extern "C" __interwork __softfp char *_io_fgets(char *, int32_t, mqx_file *)" (declared at line 189 of
Freescale\Freescale_MQX_4_1/lib/frdmk64f.iar/debug/psp\fio.h")
"C:\ C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\stdio.h 181
stdio.h defines:
__EFF_NR1 __ATTRIBUTES char * gets(char *);
and fio.h:
extern char *_io_fgets(char *, _mqx_int, MQX_FILE_PTR);
Any advice on getting these to play well together?
Thanks,
Kenny