------- Comment #1 from manu at gcc dot gnu dot org  2010-02-14 19:44 -------
Currently, the location given is at the end of the initializer list. Probably
each initialization expression is assigned that location instead of their own
position. It should be possible to improve this. 

On the other hand, printing the name of the variable may not be that easy,
since I think we do not have that information at the moment we give the
warning.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-14 19:44:58
               date|                            |
            Summary|Include member name in C++  |improve location and text of
                   |warning                     |Wconversion warning for
                   |                            |initializer list


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

Reply via email to