Reason seems to lie below recGblInitConstantLink():
3.14 directly calls strtol()/strtoul() for longs. This honours hex constants.
3.15ff. calls dbLoadLink() -> dbConstLoadLink() -> dbFastConvertRoutine[STRING][LONG] which is putStringLong() that calls sscanf() using "%ld". Which does not honour hex constants.
3.15ff. added a set of parsing functions epicsParseXxx() in epicsStdlib.c, which are thoroughly tested. Could these be used?
Reason seems to lie below recGblInitConst antLink( ):
3.14 directly calls strtol()/strtoul() for longs. This honours hex constants. utine[STRING] [LONG] which is putStringLong() that calls sscanf() using "%ld". Which does not honour hex constants.
3.15ff. calls dbLoadLink() -> dbConstLoadLink() -> dbFastConvertRo
3.15ff. added a set of parsing functions epicsParseXxx() in epicsStdlib.c, which are thoroughly tested. Could these be used?