[hatari-devel] undefined PRId64 and PRIu64 in cycInt.c and fdc.c

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

When building Hatari on ubuntu 14.04 with mingw I get some errors:

In file included from /home/hatari/src/fdc.c:28:0:
/home/hatari/src/fdc.c: In function 'FDC_IndexPulse_Update':
/home/hatari/src/fdc.c:1523:80: error: expected ')' before 'PRIu64'
   LOG_TRACE(TRACE_FDC, "fdc update index drive=%d side=%d counter=%d
ip_time=%"PRIu64" VBL=%d HBL=%d\n" ,

         ^
I think this can be fixed by adding

#include <inttypes.h>

to the files cycInt.c and fdc.c.

Max



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/