no type named 'uint_fast16_t' in namespace 'std' (Ubuntu + Clang)
Building with Clang 18 on Ubuntu 24, I'm getting the following build error:
/include/cpprealm/internal/bridge/realm.hpp:77:35: error: no type named 'uint_fast16_t' in namespace 'std'; did you mean simply 'uint_fast16_t'?
77 | using port_type = std::uint_fast16_t;
| ^~~~~~~~~~~~~~~~~~
| uint_fast16_t
/usr/include/stdint.h:62:27: note: 'uint_fast16_t' declared here
62 | typedef unsigned long int uint_fast16_t;
| ^
➤ PM Bot commented:
Jira ticket: RCPP-85
@adamski Had the same issue.
This patch fixes it it's just a missing: #include <cstdint> in include/cpprealm/internal/bridge/realm.hpp
Tested on Ubuntu 24.04 with:
gcc (Ubuntu 12.3.0-17ubuntu1) 12.3.0
Thanks @BestITUserEUW !
@leemaguire any chance of getting this patch merged in?
@adamski I'll try merge it in this week.
@leemaguire There is also another error when building example with gcc. I can try to fix it and submit a pr next few days.