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++/69640] New: ~SomeClass() = default; incorrectly considered a "user-declared destructor"


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

            Bug ID: 69640
           Summary: ~SomeClass() = default; incorrectly considered a
                    "user-declared destructor"
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: john@yates-sheets.org
  Target Milestone: ---

warning: definition of implicit copy constructor for 'IntRange' is deprecated
because it has a user-declared destructor [-Wdeprecated]
        ~IntRange() =default;
        ^
...: note: implicit copy constructor for 'IntRange' first required here
        return IntRange(aTargetSizes);

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