I would like to know if there is an equivalent to int64_t
in C that would work on 32 and 64 bits platforms and that is ansi and pedantic gcc modes compliant.
I found this interesting post, but it relates on C++.
I tried to used long long
but i get an integer overflow in expression [-WOverflow]
error. Moreover long long
is not supported by ISO C90.
I also tried what is suggested in this post, but i still have a -WOverflow
error with using int64_t
Any solutions ?