Hello all,

I am trying to compile the urJTAG on Windows under cygwin. I am in better
shape now than I have expected according to the old threads about this
topic on this list.

I have been able to configure and start the compilation.
But it fails because the IN and OUT macros are already defined from the
windows.h:

  CC       svf.lo
In file included from svf.c:56:0:
svf_bison.h:78:8: error: expected identifier before ‘=’ token
     IN = 287,
        ^
svf_bison.h:139:0: error: "IN" redefined [-Werror]
 #define IN 287
 ^
In file included from /usr/include/w32api/wincrypt.h:12:0,
                 from /usr/include/w32api/windows.h:95,
                 from ../../sysdep.h:47,
                 from svf.c:29:

I have seens some efforts in the past for workarounding it: the
-DNO_W32_PSEUDO_MODIFIERS -D_NO_W32_PSEUDO_MODIFIERS flags got added to the
Makefile, but seems to have no effect.
After a short google search for these macros I have not been able to find
anything other than the urJTAG mailing lists. Is this macro got merged to
upstream in the mingw?


Btw: the configure.ac and the autogen.sh has \r\n line ends which prevents
the compilation under cygwin with the default enviroment. If you (Mike) are
open for fixing this I can create a patch.

-- 
Regards,
Miklós Márton
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to