Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: StreamDevice 2.7.7 won't build with Visual Studio 2010
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "'Dirk Zimoch'" <dirk.zimoch@psi.ch>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 13 Jan 2017 17:33:22 +0000

Hi Dirk,

 

StreamDevice 2.7.7 won’t build with Visual Studio 2010 because that does not define isnan() and isinf(), and those are now used in devaiStream.c.  I have fixed the problem by including epicsMath.h which does define those functions on all supported platforms.  That also let me remove the VxWorks specific definitions of isnan() and isinf() in devaiStream.c.  epicsMath.h was present at least as far back as 3.14.8.  If you want the code to not depend on epicsMath.h then you will need to provide these functions in Windows-specific code as well.

 

My fixed version is here:

 

https://github.com/MarkRivers/StreamDevice

 

and I have made a pull request to your repository:

 

https://github.com/paulscherrerinstitute/StreamDevice

 

Thanks,

Mark

 

 


Navigate by Date:
Prev: Re: Problem with parallel make with seq 2.2.4 on Linux Andrew Johnson
Next: Re: Problem with parallel make with seq 2.2.4 on Linux Ben Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: Problem with parallel make with seq 2.2.4 on Linux Ben Franksen
Next: Support for Rigol DSA815 spectrum analyzer? [RF-128] Konrad, Martin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 14 Feb 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·