octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62080] Unexpected warnings with octave_base_d


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #62080] Unexpected warnings with octave_base_dld_value class -- are they harmless?
Date: Fri, 18 Feb 2022 17:58:14 -0500 (EST)

Follow-up Comment #2, bug #62080 (project octave):

What is the desired behavior in this case?

* Should it be deleted silently without a warning, meaning is the compiler
warning overzealous? If so, that warning in Clang can be suppressed with
-Wnodefaulted-function-deleted.

* Should it be an error because the behavior is undesirable? If so, this link
says that moving the definition out of the class will help:
https://stackoverflow.com/questions/51970117/warning-when-an-explicitly-defaulted-function-declaration-is-deleted#51970537



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62080>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]