[Bug c++/85861] g++ -Wconversion misses int to size_t

jg at jguk dot org gcc-bugzilla@gcc.gnu.org
Mon May 21 18:05:00 GMT 2018


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

--- Comment #2 from Jonny Grant <jg at jguk dot org> ---
Thank you for your replies.

I tested on 64bit ubuntu. But yes with -Wsign-conversion I now see the
warnings/errors.

Could it be enabled by default? to match C behaviour visible in GCC.


More information about the Gcc-bugs mailing list