On Monday 01 September 2014 09:57:59 Benjamin Franksen wrote:
> The offending line says:
>
> ss->timeEntered = INFINITY;
>
> I thought this is standard C? The error message suggests that the C
> compiler implementation (or rather, the standard library that comes
> with it) implements INFINITY as something like 1/0. Do we need an
> extra compiler switch for this compiler? How is this handled in EPICS
> base?
I see now that EPICS base has epicsMath.h and that defines epicsINF. I
will use that instead of INFINITY.
That the M$ compiler cannot compile code that uses a symbol defined in
its own stanadrd library is ... enigmatic.
Cheers
Ben
--
"Make it so they have to reboot after every typo." â Scott Adams
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- References:
- synApps_5_7 build error on Windows 8.1 x64 Alireza Panna
- RE: synApps_5_7 build error on Windows 8.1 x64 Mark Rivers
- Re: synApps_5_7 build error on Windows 8.1 x64 Benjamin Franksen
- Navigate by Date:
- Prev:
Re: synApps_5_7 build error on Windows 8.1 x64 Benjamin Franksen
- Next:
CSS - 3.2.16 SNS - Bug on X-Axis of XYGraph Amien Crombie
- 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
- Navigate by Thread:
- Prev:
Re: synApps_5_7 build error on Windows 8.1 x64 Benjamin Franksen
- Next:
RE: synApps_5_7 build error on Windows 8.1 x64 Mark Rivers
- 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
|