Comment 1 for bug 1740426

Revision history for this message
Martin Konrad (info-martin-konrad) wrote :

Considering the fact that issues related to these constructs are popping up again and again I would also like to see this addressed.

Fixed-width integer types are provided by stdint.h since C99 (https://en.wikipedia.org/wiki/C_data_types#stdint.h). In the case of GCC it seems like the standard library ships with this feature since 4.5 (see https://gcc.gnu.org/c99status.html). MSVC includes the required macros in 2015+ (https://docs.microsoft.com/en-us/cpp/standard-library/cstdint?view=vs-2015), according to StackOverflow even since 2010 (see https://stackoverflow.com/questions/126279/c99-stdint-h-header-and-ms-visual-studio). Not sure about clang.

Considering the fact that the 7.0 branch needs to support VxWorks 6 with GCC 4.3 we can only implement this in 7.1 (assuming that we want to stay away from implementing/maintaining these macros in EPICS Base).