This is the MinGW error that I was warning about when /src/rtos/linux.c was submitted.
It seems to be a bug in current release of MinGW - as noted by this bug tracker: http://sourceforge.net/tracker/index.php?func=detail&aid=2620867&group_id=24 35&atid=102435 The bug tracker has a comment that it is fixed in GCC-4.4 but this is not the case - I see it in the latest MinGW GCC (4.6.2) Regards, Evan Hunter -----Original Message----- From: Laurent Gauch [mailto:[email protected]] Sent: 19 January 2012 00:49 To: [email protected] Subject: [OpenOCD-devel] error: format '%I64x' expects type 'unsigned int', but argument 6 has type 'int64_t', , linux.c: In function 'liste_del_task': For info : linux.c: In function 'linux_os_thread_reg_list': linux.c:218:4: error: 'I' flag used with '%x' gnu_printf format linux.c:218:4: error: format '%I64x' expects type 'unsigned int', but argument 6 has type 'int64_t' linux.c: In function 'liste_del_task': linux.c:692:2: error: format '%I64d' expects type 'int', but argument 6 has type 'int64_t' linux.c: In function 'linux_get_tasks': linux.c:833:2: error: format '%I64d' expects type 'int', but argument 6 has type 'int64_t' linux.c:833:2: error: format '%I64d' expects type 'int', but argument 7 has type 'int64_t' linux.c: In function 'linux_task_update': linux.c:1111:2: error: format '%I64d' expects type 'int', but argument 6 has type 'int64_t' linux.c:1111:2: error: format '%I64d' expects type 'int', but argument 7 has type 'int64_t' make[4]: Leaving directory `/c/amontec/sdk-v0.1/open-sources/openocd/git/src/rtos' make[4]: *** [librtos_la-linux.lo] Error 1 make[3]: Leaving directory `/c/amontec/sdk-v0.1/open-sources/openocd/git/src' make[2]: Leaving directory `/c/amontec/sdk-v0.1/open-sources/openocd/git/src' make[1]: Leaving directory `/c/amontec/sdk-v0.1/open-sources/openocd/git' make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Laurent ---------------------------------------------------------------------------- -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
