Hello,

r1366 does not compile (for me, at least).

In file included from ../../src/ftd2xx.h:56,
                 from ft2232.c:56:
../../src/helper/WinTypes.h:15: error: conflicting types for 'BOOL'
jtag.h:54: error: previous declaration of 'BOOL' was here

WinTypes.h is part of the ftdi libftd2xxx (in version 0.4.16, but it was
probably in earlier versions, too), so this probably will not trigger 
if you don't use this library.

The offending declarations are:
src/helper/WinTypes.h-typedef unsigned char     BYTE;
src/helper/WinTypes.h-typedef unsigned char     *LPBYTE;
src/helper/WinTypes.h:typedef int               BOOL;
src/helper/WinTypes.h-typedef char              BOOLEAN;
src/helper/WinTypes.h-typedef char              CHAR;
--
src/jtag/jtag.h-typedef enum tap_state tap_state_t;
src/jtag/jtag.h-
src/jtag/jtag.h:typedef unsigned                BOOL;
src/jtag/jtag.h-#define TRUE                    1
src/jtag/jtag.h-#define FALSE           0

Regards,

Peter
-- 
"Only wimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;)"
(Linus Torvalds, about his failing hard drive on linux.cs.helsinki.fi)

Attachment: pgpTRp4BXchY0.pgp
Description: PGP signature

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to