This is the mail archive of the gcc-patches@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]

Re: C++ PATCH: Fix C++/10784


Nathan Sidwell wrote:
Gabriel Dos Reis wrote:

Thsi fixes PR C++/10784 by making the diagnostic fall in the
-Wconversion category.

The two conversion sequences are ambiguous (involving different user conversion operators).

why do you think a warning is unjustified in this case?
besides, it is the wrong fix, there's no need to add_warning if a warning
is not to be given

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
         The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



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