[Bug c++/19249] abstract classes should not access virtually inherited class constructor

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 4 05:42:00 GMT 2005

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-04 05:42 -------
Note the comeau C++ compiler also rejects the code:
"ComeauTest.c", line 9: error: "controller::controller()" is inaccessible
    : virtual public controller
          detected during implicit generation of "Interface::Interface()" at
                    line 22

1 error detected in the compilation of "ComeauTest.



More information about the Gcc-bugs mailing list