Using GCC 11, I had to add an include for to bring in std::numeric_limits:
/external_sd/src/irony/0/src/server/src/Command.cpp: In member function 'bool {anonymous}::UnsignedIntConverter::operator()(const string&)':
/external_sd/src/irony/0/src/server/src/Command.cpp:53:21: error: 'numeric_limits' is not a member of 'std'
53 | if (unum > std::numeric_limits::max())
| ^~~~~~
/external_sd/src/irony/0/src/server/src/Command.cpp:53:36: error: expected primary-expression before 'unsigned'
53 | if (unum > std::numeric_limits::max())
| ^~~~
/external_sd/src/irony/0/src/server/src/Command.cpp:53:36: error: expected ')' before 'unsigned'
/external_sd/src/irony/0/src/server/src/Command.cpp:53:8: note: to match this '('
53 | if (unum > std::numeric_limits::max())
| ^
Using GCC 11, I had to add an include for to bring in std::numeric_limits:
/external_sd/src/irony/0/src/server/src/Command.cpp: In member function 'bool {anonymous}::UnsignedIntConverter::operator()(const string&)': /external_sd/src/irony/0/src/server/src/Command.cpp:53:21: error: 'numeric_limits' is not a member of 'std' 53 | if (unum > std::numeric_limits::max())
| ^::max())
| ^::max())
| ^
~~~~~ /external_sd/src/irony/0/src/server/src/Command.cpp:53:36: error: expected primary-expression before 'unsigned' 53 | if (unum > std::numeric_limits~~~ /external_sd/src/irony/0/src/server/src/Command.cpp:53:36: error: expected ')' before 'unsigned' /external_sd/src/irony/0/src/server/src/Command.cpp:53:8: note: to match this '(' 53 | if (unum > std::numeric_limitsSearching around, looks like a few other packages ran into the same issue, e.g. https://github.com/xtensor-stack/xsimd/pull/395
Thanks for the great package!