On Mon, Jun 14, 2010 at 10:26 AM, Xiaofan Chen wrote: > On Mon, Jun 14, 2010 at 2:41 PM, Snowel Xue wrote: > make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/svf' > CC svf.lo > In file included from svf.c:56: > svf_bison.h:72: error: parse error before '=' token > In file included from svf.c:56: > svf_bison.h:133:1: warning: "IN" redefined > In file included from > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32a > pi/rpc.h:40, > from > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32a > pi/windows.h:82, > from ../../sysdep.h:47, > from svf.c:29: > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/rpcdce.h:13:1: > warn > ing: this is the location of the previous definition > In file included from svf.c:56: > svf_bison.h:134:1: warning: "OUT" redefined > In file included from > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32a > pi/rpc.h:40, > from > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32a > pi/windows.h:82, > from ../../sysdep.h:47, > from svf.c:29: > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/rpcdce.h:14:1: > warn > ing: this is the location of the previous definition
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. -mike ------------------------------------------------------------------------------ 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 UrJTAG-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/urjtag-development