The issue concerns building projects for 20 bit architecture for MSP430s. Currently anything that uses integral_limits.h for example span.h will crash. The work around that I found to this is adding a definition for int_20 in integral_limits.h
template<>
struct integral_limits<__int20 unsigned> {
static constexpr __int20 unsigned max = 0xFFFFF;
static constexpr __int20 unsigned min = 0;
};
However this has to be wrapped in an #ifdef as this is not compliant with ISO C++ forcing to disable -pedantic flag.
Do we consider this should be supported within the ETL library?
Hi!
The issue concerns building projects for 20 bit architecture for MSP430s. Currently anything that uses
integral_limits.h
for examplespan.h
will crash. The work around that I found to this is adding a definition for int_20 inintegral_limits.h
However this has to be wrapped in an
#ifdef
as this is not compliant with ISO C++ forcing to disable-pedantic
flag.Do we consider this should be supported within the ETL library?