[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c/6614] [-Wconversion] incorrect conversion warning for function taking a short




------- Comment #8 from lopezibanez at gmail dot com  2006-07-05 11:34 -------
I think we may close this bug report since either:

* The solution is to split the functionality of Wconversion as conceived by the
Wcoercion project http://gcc.gnu.org/wiki/Wcoercion#Background. In that case,
this is a duplicate of bug 9072.

* The message is misleading. Maybe it should say: passing arg 1 of 'func' as
short instead of 'int' due to prototype. If you agree, I can generate a patch
in no time.

* This is not a bug. As said in comment 5, Wconversion is meant to warn about
conversions that would be different in the absence of prototypes. So we may
just close the bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6614

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: