Alright - here's v2 of the patch then. I was trying to avoid a big fat #ifdef IS_MINGW in there, but it looks like not every platform knowns gnu_printf as a format.
Or we could go with a lighter #ifndef gnu_printf #define gnu_printf printf #endif if you guys prefer. 2009/10/17 Øyvind Harboe <[email protected]> > This fails to build w/Ubuntu 9.04 32 bit gcc version 4.3.3 (Ubuntu > 4.3.3-5ubuntu4): > > cc1: warnings being treated as errors > In file included from ../../../zy1000/openocd/src/helper/log.h:29, > from ../../../zy1000/openocd/src/helper/binarybuffer.c:27: > ../../../zy1000/openocd/src/helper/command.h:88: error: ‘gnu_printf’ > is an unrecognized format function type > . > > > -- > Øyvind Harboe > http://www.zylin.com/zy1000.html > ARM7 ARM9 ARM11 XScale Cortex > JTAG debugger and flash programmer >
patch_mingw_ansi_stdio_v2.diff
Description: Binary data
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
