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: | 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 |
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