https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97262 --- Comment #2 from fdlbxtqi <euloanty at live dot com> --- Let's face it. std::size_t should be the default integer type in both C and C++. type like long should never EVER be used.