On 23/06/2011, at 9:21 PM, Øyvind Harboe wrote: > On Thu, Jun 23, 2011 at 1:03 PM, Steve Bennett <ste...@workware.net.au> wrote: >> On 23/06/2011, at 8:59 PM, Øyvind Harboe wrote: >> >>> I don't think this is sufficient, as it will put up warnings on some >>> other platforms unless you use the macros that expand to the >>> correct formatting string. >>> >>> See C99 section: >>> >>> http://en.wikipedia.org/wiki/Printf >> >> Can you provide an example of a platform which produces warnings? >> I don't see how. > > I haven't followed this(big discussions), but I've seen on the list > in the past that casting is frowned upon and using these > macros is cheered... Anyway... I'm happy to follow the path > of using these macros, I certainly don't want to become an > expert! :-)
I guess I'm not quite sure what you want. Feel free to apply a modified patch if you want, as long as it removes the warnings. Cheers, Steve > > -- > Øyvind Harboe - Can Zylin Consulting help on your project? > US toll free 1-866-980-3434 / International +47 51 87 40 27 > http://www.zylin.com/ > -- µWeb: Embedded Web Framework - http://uweb.workware.net.au/ WorkWare Systems Pty Ltd W: www.workware.net.au P: +61 434 921 300 E: ste...@workware.net.au F: +61 7 3391 6002 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development