EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: converting strings to integer
From: Dirk Zimoch <[email protected]>
To: <[email protected]>
Date: Thu, 14 Dec 2017 08:49:40 +0100
Hi Andrew,

Thanks for the info.

I noticed that hex numbers are not possible in 3.16.1 and 3.15.5 when running the 32bit mbbi/mbboDirect tests, where I used a hex number in DOL.

Dirk

On 13.12.2017 17:43, Andrew Johnson wrote:
Hi Dirk,

On 12/13/2017 07:00 AM, Dirk Zimoch wrote:
I noticed that I can use hex numbers in DOL with EPICS 7 but not with
3.16.1, 3.15.5 or earlier.

What about adding this option to 3.15/3.16?

Code to allow the use of hex numbers in CONSTANT links was committed to
the Base-3.15 branch in June:

commit 9d4a90ac34cc6decc0e12837b5bab45586e8c518
Author: Andrew Johnson <[email protected]>
Date:   Thu Jun 22 14:29:04 2017 -0500

    Fix link initialization from hex constants

    Fixes LP: #1699445
    Includes regression tests (some of which will fail on 3.16)

This was fixing a regression, my restructuring of the constant link code
(which was a necessary part of the link support development) changed the
string to integer conversions from using a mixture of  strtol(),
strtoul() and sscanf() with %i or %u formats. The regression first
appeared in 3.14.12.3 and 3.15.0.1, and the above commit will fix it for
the 3.15.6 and 3.16.2 releases which we'll probably put out early in 2018.

- Andrew


References:
converting strings to integer Dirk Zimoch
Re: converting strings to integer Andrew Johnson

Navigate by Date:
Prev: Re: converting strings to integer Andrew Johnson
Next: Re: 7.0.1-rc1 Torsten Bögershausen
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: converting strings to integer Andrew Johnson
Next: makeBaseApp example / QSRV Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·