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  <20122013  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ../testServer.cpp:672: warning: converting to 'int' from 'double'
From: Dirk Zimoch <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: EPICS <[email protected]>
Date: Thu, 29 Mar 2012 15:20:26 +0200
Dirk Zimoch wrote:
int v = 0;
...
double array[COUNT];
array[i] = v; v+=1.1;


Shouldn't v be a double?

Sorry, I meant to send this to the EPICS4 mailing list :-(

References:
../testServer.cpp:672: warning: converting to 'int' from 'double' Dirk Zimoch

Navigate by Date:
Prev: ../testServer.cpp:672: warning: converting to 'int' from 'double' Dirk Zimoch
Next: RE: What is void* puser in ca_create_channel Hill, Jeffrey O
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: ../testServer.cpp:672: warning: converting to 'int' from 'double' Dirk Zimoch
Next: Fiber Optic Switches Bjorklund, Eric A
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·