realm-cpp icon indicating copy to clipboard operation
realm-cpp copied to clipboard

no type named 'uint_fast16_t' in namespace 'std' (Ubuntu + Clang)

Open adamski opened this issue 1 year ago • 5 comments

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;
      |                                 ^

adamski avatar Jul 12 '24 21:07 adamski