sscanf() does not support integer variables of a specific size
At various places in the DCMTK, sscanf() is used to convert character string into an integer value. The current approach...
Uint32 value = 0; #if SIZEOF_LONG == 8 if (sscanf(ptr, "%u", &value) == 1) #else if (sscanf(ptr, "%lu", &value) == 1) #endif
... is not 100% portable when the integer variable has a specific size (number of bits), e.g. Uint32 or Sint32. This first showed up on a 32-bit Linux (Debian) system. Not sure whether this only happens when C++11 support is enabled.
Maybe, there should be something like OFStandard::sscanUint32() and OFStandard::sscanSint32(), i.e. global functions that provide this functionality.