This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result


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

Matt Kline <matt at bitbashing dot io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matt at bitbashing dot io

--- Comment #15 from Matt Kline <matt at bitbashing dot io> ---
> Fixed for GCC 6.

May I ask why this is being deferred until GCC 6.x? I'll readily admit that I'm
not well-versed in the GCC release cycle, but this seems like a trivial
enhancement and would be useful immediately. My team has been bitten by these
silent conversions, and -Wconversion on Clang currently provides a similar
warning.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]