On 27/07/2011, at 1:17 AM, Spencer Oliver wrote:

> On 12 July 2011 15:01, Xiaofan Chen <xiaof...@gmail.com> wrote:
>> On Tue, Jul 12, 2011 at 9:51 PM, Spencer Oliver <s...@spen-soft.co.uk> wrote:
>>> Try my repo now i have pushed a fix for the warnings.
>>> 
>> 
> 
> I have just attempted to build under cygwin and get warnings.
> Seems this patch has broken windows - i am inclined to revert as
> windows is more likely to use ftd2xx than linux.
> 
> Looking into the issue i agree with Xiaofan the issue is caused by a
> change to the wintypes.h
> 
> old version (0.4.16)
> typedef unsigned long                 DWORD;
> typedef unsigned long                 ULONG;
> 
> new version (1.04)
> typedef unsigned int                  DWORD;
> typedef unsigned int                  ULONG;
> 
> for info long is 8bytes under linux64 - but win64 treats it as 4bytes.
> I may get more time to look into next week.

I believe that my original patch did not have this problem (see attached),
but I was asked to change it to use PRIu32.

Cheers,
Steve

--
µ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




Attachment: 0001-ft2232-Add-casts-to-avoid-warnings.patch
Description: Binary data

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to