]> git.sur5r.net Git - openocd/commit
More MinGW C99 printf compliance
authorRedirect 'Slash' NIL <redirect.slash.nil@gmail.com>
Sun, 18 Oct 2009 00:47:52 +0000 (17:47 -0700)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 18 Oct 2009 00:47:52 +0000 (17:47 -0700)
commit73349dc5ac33e904a1311829f2e42d923309e744
tree1bbeb3fe886bd517aef654a7d62a7bca4b1e06de
parentc9fbfbd95c04dcc7e0e56a678d0f5c2d6c673e2a
More MinGW C99 printf compliance

Passing "--std=gun99" is unfortunately not sufficient to make current
MinGW compilers conform with respect to checking printf format strings.
(The C runtime seems not to have problems.)

Fix by using a "gnu_printf" format specifier not "printf".
src/helper/command.h
src/helper/log.h
src/target/arm11.h