Re: -Wconversion producing incorrect warning

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

 



John Love-Jensen wrote:

The warning does not indicate that there is anything wrong with the code
itself.  The warning is justified, warranted, and desirable if/when/where
-Wconversion is specified, since the warning tells you that something funny
is happening that may not be apparent from the code itself, on that
particular platform.

We've worked around it for now by just passing the arguments by-reference instead. In this application it makes very little difference, and may in fact be slightly faster.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux