64bit - -ansi -pedantic 64 bits length integers in C -


i know if there equivalent int64_t in c work on 32 , 64 bits platforms , ansi , pedantic gcc modes compliant.

i found interesting post, relates on c++.

i tried used long long integer overflow in expression [-woverflow] error. long long not supported iso c90.

i tried suggested in post, still have -woverflow error using int64_t

any solutions ?

  • in c89 (required -ansi flag), there no standard way use 64 bits integer. have rely on types provided implementation.

  • in c99, implementations may define int64_t, since optional type. long long (c99), there no guarantee width exactly of 64 bits.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -