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++/35640] [4.2/4.3/4.4 Regression] invalid access to protected base class



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-12-29 04:13 -------
Confirmed, a regression from at least 3.3 which gave:
t.cc: In constructor `C::C(B&)':
t.cc:14: error: `A' is an inaccessible base of `B'


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |accepts-invalid
      Known to fail|                            |4.0.1 4.3.3 4.4.0
      Known to work|                            |3.3
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-29 04:13:13
               date|                            |
            Summary|invalid access to protected |[4.2/4.3/4.4 Regression]
                   |base class                  |invalid access to protected
                   |                            |base class
   Target Milestone|---                         |4.2.5


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


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