EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  <19971998  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  <19971998  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: change in promotion of types from database to channel access
From: [email protected] (Ned Arnold)
To: [email protected], [email protected]
Date: Thu, 17 Jul 1997 08:25:20 -0500
Chip asks: 
> Is anyone aware of a use of ULONG to hold a number larger than 2^31 which 
would
> fail if the value were contained in a 32 bit int?

I think I'll stand up for the "less sophisticated" EPICS Application Developer
(of which there are many !) and respond  "I don't know what you mean by a
ULONG. Does that mean my system will break ? I got all my stuff from 
Epics_Genius_such_and_such. Should I be worried ? ". 

I would be EXTREMELY hesitant to convert a ULONG to an int, "assuming" that
no one will be affected. This seems like a VERY difficult problem to debug
if you weren't aware of the change. Yes, you can warn people, but the "change"
may actually occur for some people 2 years from now when they find it 
convenient to "upgrade". 

If I recall, the original motivation was to avoid "ugly patches" in some 
client software. I don't think this justifies the risk to all the EPICS users.


	Ned
	
 

Replies:
Re: change in promotion of types from database to channel access Chip Watson

Navigate by Date:
Prev: Re: change in promotion of types from database to channel access Chip Watson
Next: Re: change in promotion of types from database to channel access Chip Watson
Index: 1994  1995  1996  <19971998  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: change in promotion of types from database to channel access Jeff Hill
Next: Re: change in promotion of types from database to channel access Chip Watson
Index: 1994  1995  1996  <19971998  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