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

--- Comment #4 from Eyal Rozenberg <eyalroz1 at gmx dot com> ---
(In reply to Eric Gallager from comment #3)
> -Wtraditional-conversion catches this:

Well... you're technically right, but:

1. That is a much wider warning. If someone were to turn this on they would get
a gazillion warnings which would drown out this one.
2. (Weak point) Few people would consider turning this on given the
description.
3. This doesn't work for C++.

Reply via email to