1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 <2017> 2018 2019 2020 2021 2022 2023 2024 | 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> 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | StreamDevice 2.7.7 won't build with Visual Studio 2010 |
From: | Mark Rivers <[email protected]> |
To: | "'Dirk Zimoch'" <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
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 |