[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 11:50:22 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?62080>
Summary: Unexpected warnings with octave_base_dld_value class
-- are they harmless?
Project: GNU Octave
Submitted by: arungiridhar
Submitted on: Fri 18 Feb 2022 11:50:20 AM EST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
The octave_base_dld_value class was added in this recent changeset:
https://hg.savannah.gnu.org/hgweb/octave/rev/b92316e295a2
There is a sudden large increase in compiler warnings like the following,
using Clang 13.0.1. Please verify if they are harmless warnings.
../libinterp/octave-value/ov-base.h:933:26: warning: explicitly defaulted copy
assignment operator is implicitly deleted [-Wdefaulted-function-deleted]
octave_base_dld_value& operator = (const octave_base_dld_value&) = default;
^
../libinterp/octave-value/ov-base.h:920:25: note: copy assignment operator of
'octave_base_dld_value' is implicitly deleted because base class
'octave_base_value' has a deleted copy assignment operator
octave_base_dld_value : public octave_base_value
^
../libinterp/octave-value/ov-base.h:899:37: note: copy assignment operator of
'octave_base_value' is implicitly deleted because field 'count' has a deleted
copy assignment operator
octave::refcount<octave_idx_type> count;
^
../liboctave/util/oct-refcount.h:50:15: note: 'operator=' has been explicitly
marked deleted here
refcount& operator = (const refcount&) = delete;
^
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62080>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62080] Unexpected warnings with octave_base_dld_value class -- are they harmless?,
Arun Giridhar <=