[hatari-devel] undefined PRId64 and PRIu64 in cycInt.c and fdc.c |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: "hatari-devel@xxxxxxxxxxxxxxxxxxx" <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: [hatari-devel] undefined PRId64 and PRIu64 in cycInt.c and fdc.c
- From: Max Böhm <mboehm3@xxxxxxxxx>
- Date: Fri, 15 Aug 2014 23:32:51 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=XwuKG1E0xjZC1nj/RH9+VBuIMtprSyCZ0EYgDyIlKPs=; b=xbF2adk5wxTYM+UPKTlf/11Yh8S5m7FtZxpymUiWYUM05G+9h9M93zJmSI02yRXvzN SXKdqPD3Wuh4EWAYi+3OBRpDWey24M3tfPrscRb1nGVAcI6eTly7uAZrjkVnCDKAGeQr n4jk/ofNRVUDC4hQeYCvwken9hib6jDfHPi+T8aF0CRlwlJ8hxWEJxi/jAgs8ETlrxvI qN5vhYzibpMz8skoPMX6sCRiTI/7M8FUgjQGZQtaILK7a8BdasqC73P5fVxgBdYTxOVT i31kXb5M6gy0XX/Z/Oigi5+SJWoU1REuOhDUiheg1H6Rn+GysgfJK/+68Grz4R3g5lG0 A6Ug==
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