2009/10/17 David Brownell
> On Saturday 17 October 2009, Redirect "Slash" NIL wrote:
>
> > Or we could go with a lighter
> >
> > #ifndef gnu_printf
> > #define gnu_printf printf
> > #endif
> >
> > if you guys prefer.
>
> If it's #defined as a macro in MinGW, that would be the
> way to go ...
>
>
On Saturday 17 October 2009, Redirect "Slash" NIL wrote:
> 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
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
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/helpe
This one is addressing the remaining warning issues when using %lld or %zu
with MinGW.
The purpose of this patch it to remove warnings when the
-D__USE_MINGW_ANSI_STDIO flag is used in MinGW. This flag is intended to
make MinGW more C99 compliant with regards to printfs, and should become the
reco