On Tue, Jun 15, 2010 at 2:18 AM, Mike Frysinger <[email protected]> wrote: > cygwin is polluting the global namespace with "IN" and "OUT" defines. > read the cygwin headers to figure out how to disable this crap. this > is why we define NO_W32_PSEUDO_MODIFIERS for mingw targets.
Thanks a lot for the hint. So I just copied your patch to sysdep.h and now it seem to be almost fine. diff --git a/urjtag/sysdep.h b/urjtag/sysdep.h index d74bf59..90339ca 100644 --- a/urjtag/sysdep.h +++ b/urjtag/sysdep.h @@ -44,6 +44,8 @@ #endif #if __CYGWIN__ +#define NO_W32_PSEUDO_MODIFIERS +#define _NO_W32_PSEUDO_MODIFIERS #include <windows.h> #endif I still need to figure out one warning message regarding the libftdi library I build under Cygwin. *** Warning: This system can not link to static lib archive /usr//lib/libftdi.la . *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. mc...@acerpc /lib $ ls /usr/lib/libftdi* /usr/lib/libftdi.a /usr/lib/libftdi.la -- Xiaofan http://mcuee.blogspot.com ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ UrJTAG-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/urjtag-development
