* Galos, David <galos...@students.rowan.edu> [2013-06-11 13:10:37 -0500]: > Right, but '-ansi -pedantic' is strictly C89. GCC doesn't complain, > but I could imagine there being trepidation around using a C99 header > in a C89 environment (where it is not required). > > 2013/6/11 Thorsten Glaser <t...@mirbsd.de>: > > Galos, David dixit: > > > >>On GNU systems stdint.h still provides uint64_t, but I have no idea > >>how portable this is. > > > > <stdint.h> is C99.
if you want c89 compatibility then indeed you should not include stdint.h, but long long was supported in practice before c99 (c++ didn't have it until recently, but usually it is supported as an extension) i think you should only avoid long long if you are specifically targetting a system without long long support