https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61790
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- As libiberty has now strtoll/strtoull functions, guess you could use that. You'll need to guard it with #ifdef HAVE_LONG_LONG, but if the host doesn't have long long, you'd better not use it in the code either. I'd say int64_t should be used instead of long long, and if HAVE_LONG_LONG is not defined, instead of strtoll you should use just strtol.