https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70163

            Bug ID: 70163
           Summary: C++ DR 257 constructor forward to virtual base class's
                    constructor in an abstract class required
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ethouris at gmail dot com
  Target Milestone: ---

Sorry if this already passed through somehow, but there was no trace of this
problem so far in gcc bugzilla and I found it in version 4.9.0.

The problem can be described in short as: The constructor forwarder to the base
class's constructor shouldn't be required, if the current class is abstract and
the base class is virtual.

This is completely described as C++ DR 257:

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#257

So, it's still working with this defect in gcc 4.9.0, also when compiling in
C++11 mode. May happen that this is already fixed in some later version of gcc,
then please leave appropriate information here.The clang++ compiler has this
problem fixed.

Reply via email to