[Bug c++/80230] error accessing struct member, error says it's size_t, but it is int

jmichae3 at yahoo dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 28 01:43:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80230

--- Comment #2 from Jim Michaels <jmichae3 at yahoo dot com> ---
how did I misunderstand the error message? it's pretty clear. the compiler says
the type is size_t when it really should be saying int, and size_t is for x32
an unsigned int and for x64 it's unsigned long long but it's /not/ a signed
int.

I really don't think there is any confusion here.


More information about the Gcc-bugs mailing list