I am porting code from C to C ++. During the conversion, I encountered:
uint128_t does not indicate type
My compiler: gcc version 5.2.1
My operating system: Ubuntu 15.1
This compiled as C, and I thought it would be resolved by including stdint.h , but it is not. So far I have not tried anything else, since there seems to be not much information about this error ( example ). uint128_t used throughout this program and is important for the build, so I cannot remove it, and I'm not sure about using another integer type.
The following is an example of where and how it is used.
union { uint16_t u16; uint32_t u32; uint128_t u128; } value;
Is it possible to determine uint128_t or see my compiler?
c ++ c types integer
Zimano
source share