EPICS Controls 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  <20182019  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: xxxRecord.c warning about epicsFloat64 to float conversion
From: Ralph Lange <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Wed, 23 May 2018 08:53:23 +0200
Thanks, Lewis,

I have created https://bugs.launchpad.net/epics-base/+bug/1772833 to track this issue.
Do you have a patch?

Cheers,
~Ralph


On Tue, May 22, 2018 at 10:07 PM J. Lewis Muir <[email protected]> wrote:
Hi, all.

I don't know if anyone cares to fix this since it's on EPICS Base
3.14.12.7, but when I generate a new app and IOC with the makeBaseApp.pl
program on Windows and compile it, I get the following warning about a
conversion from "epicsFloat64" to "float" (the full output is at the end
of this email):

===
cl -c                -nologo -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE   -Ox -GL -Oy-   -W3        -MD     -I. -I..\\O.Common -I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include -IC:\\opt\\epics-base\\include\\os\\WIN32 -IC:\\opt\\epics-base\\include        ..\\xxxRecord.c
xxxRecord.c
..\xxxRecord.c(211) : warning C4244: '=' : conversion from 'epicsFloat64' to 'float', possible loss of data
..\xxxRecord.c(211) : warning C4244: '=' : conversion from 'epicsFloat64' to 'float', possible loss of data
===

Environment:

* 32-bit Windows 7 Pro
* Visual Studio C++ 2010 Express SP1
* 32-bit Strawberry Perl 5.26.2.1
* EPICS Base 3.14.12.7 + Known Problems patches
* EPICS_HOST_ARCH=win32-x86

Regards,

Lewis


Replies:
Re: xxxRecord.c warning about epicsFloat64 to float conversion J. Lewis Muir
References:
xxxRecord.c warning about epicsFloat64 to float conversion J. Lewis Muir

Navigate by Date:
Prev: Re: msi "Could not open" error on Windows with file absolute path Torsten Bögershausen
Next: Re: [UNTRUSTED] Problem accessing TextUpdate text property in Display Builder script. Kasemir, Kay
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: xxxRecord.c warning about epicsFloat64 to float conversion J. Lewis Muir
Next: Re: xxxRecord.c warning about epicsFloat64 to float conversion J. Lewis Muir
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 23 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·