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

Bug#226952: [PR 13945] -Wconversion behaviour



Matthias Klose wrote:
Upstream wrote:

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.

Ugh... I didn't even recall I'd submitted this. I'm sure I must have run into it 'in the wild' with some other code, and thus had a reason to have noticed it being annoying, but I can't recall where.

You're the expert, I trust you to figure out the best thing to do:-) Try and approach both the behavior and docs from the point of view of someone with less familiarity with the system, though.

Thankyou,
--
David N. Welton
- http://www.dedasys.com/davidw/

Linux, Open Source Consulting
- http://www.dedasys.com/



Reply to: