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++/82297] New: Link error when templated inherited constructor has default arguments


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

            Bug ID: 82297
           Summary: Link error when templated inherited constructor has
                    default arguments
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel.falcou at lri dot fr
  Target Milestone: ---

The following code:

http://coliru.stacked-crooked.com/a/a2657ad530025420

fails to link on g++ 7.1 and 7.2

Older g++ and current clang accept the code.

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