Re: [Openocd-development] Patch for Cygwin compatibility

2010-03-26 Thread David Brownell
On Friday 26 March 2010, Daniel Bäder wrote: > > > > > What version of Cygwin complains? > > > > I did a test build with this patch reverted, and it worked just fine... > > I think the cygwin version was 1.7.1 but I had this problem on serveral > earlier versions (SVN). > I have now installed

Re: [Openocd-development] Patch for Cygwin compatibility

2010-03-26 Thread Daniel Bäder
David Brownell schrieb: On Thursday 25 March 2010, Daniel Bäder wrote: When using uint32_t in LOG_xxx functions the PRIx32 or PRId32 macros are needed in the format string instead of x and d to compile with cygwin. The attached patch corrects this. What version of Cygwin complains? I did a

Re: [Openocd-development] Patch for Cygwin compatibility

2010-03-26 Thread David Brownell
On Thursday 25 March 2010, Daniel Bäder wrote: > When using uint32_t in LOG_xxx functions the PRIx32 or PRId32 macros are > needed in the format string instead of x and d to compile with cygwin. > The attached patch corrects this. What version of Cygwin complains? I did a test build with this p

Re: [Openocd-development] Patch for Cygwin compatibility

2010-03-25 Thread Øyvind Harboe
Pushed. Thanks! -- Meet us in Paris at rts EMBEDDED SYSTEMS 2010 - March 30. and April 1. http://www.zylin.com/events_rts.html Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash progra

[Openocd-development] Patch for Cygwin compatibility

2010-03-25 Thread Daniel Bäder
When using uint32_t in LOG_xxx functions the PRIx32 or PRId32 macros are needed in the format string instead of x and d to compile with cygwin. The attached patch corrects this. >From 6ce7282be99d073f4ef9d71feda770b67eb12080 Mon Sep 17 00:00:00 2001 From: Daniel Bäder Date: Thu, 25 Mar 2010 11:2