------- Comment #9 from manu at gcc dot gnu dot org  2010-03-04 18:29 -------
I am reopening as an enhancement request because all this discussion could be
better summarized in the error message (in particular, the part about A being
injected in B and being private).

clang has a "fixit/extra info" switch that provides a long explanation for each
error message. I wonder what error/message they give here.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
           Severity|normal                      |enhancement
             Status|RESOLVED                    |REOPENED
           Keywords|                            |diagnostic
         Resolution|INVALID                     |
            Summary|g++ rejects valid code with |improve diagnostic for 'is
                   |'is inaccessible' error     |inaccessible' error


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

Reply via email to