-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Description
Describe the bug
To Reproduce
Current Mac builds show compiler warnings. I suspect that those are newly introduced by newer compiler versions in Xcode (#2672).
Expected behavior
No warnings.
Screenshots
https://github.com/jamulussoftware/jamulus/runs/7109253970?check_suite_focus=true#step:9:1299
...
In file included from ../src/client.cpp:25:
In file included from ../src/client.h:38:
In file included from ../src/socket.h:32:
In file included from ../src/protocol.h:33:
../src/util.h:125:5: warning: definition of implicit copy assignment operator for 'CVector<unsigned char>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
CVector ( CVector const& ) = default;
^
../src/protocol.h:182:24: note: in implicit copy assignment operator for 'CVector<unsigned char>' first required here
vecMessage = NewSendMess.vecMessage;
^
In file included from ../src/client.cpp:25:
In file included from ../src/client.h:38:
In file included from ../src/socket.h:32:
In file included from ../src/protocol.h:33:
../src/util.h:125:5: warning: definition of implicit copy assignment operator for 'CVector<unsigned char>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
CVector ( CVector const& ) = default;
^
../src/protocol.h:182:24: note: in implicit copy assignment operator for 'CVector<unsigned char>' first required here
vecMessage = NewSendMess.vecMessage;
^
In file included from ../src/client.cpp:25:
In file included from ../src/client.h:38:
In file included from ../src/socket.h:32:
In file included from ../src/protocol.h:33:
../src/util.h:125:5: warning: definition of implicit copy assignment operator for 'CVector<unsigned char>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
CVector ( CVector const& ) = default;
^
../src/protocol.h:182:24: note: in implicit copy assignment operator for 'CVector<unsigned char>' first required here
vecMessage = NewSendMess.vecMessage;
^
In file included from ../src/client.cpp:25:
In file included from ../src/client.h:38:
In file included from ../src/socket.h:32:
In file included from ../src/protocol.h:33:
../src/sound/coreaudio-mac/../../util.h:125:5: warning: definition of implicit copy assignment operator for 'CVector<short>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
CVector ( CVector const& ) = default;
^
../src/client.cpp:1241:36: note: in implicit copy assignment operator for 'CVector<short>' first required here
vecsStereoSndCrdMuteStream = vecsStereoSndCrd;
^
In file included from ../src/client.cpp:25:
In file included from ../src/client.h:38:
In file included from ../src/socket.h:32:
In file included from ../src/protocol.h:33:
../src/sound/coreaudio-mac/../../util.h:125:5: warning: definition of implicit copy assignment operator for 'CVector<short>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
CVector ( CVector const& ) = default;
^
../src/client.cpp:1241:36: note: in implicit copy assignment operator for 'CVector<short>' first required here
vecsStereoSndCrdMuteStream = vecsStereoSndCrd;
^
In file included from ../src/client.cpp:25:
In file included from ../src/client.h:38:
In file included from ../src/socket.h:32:
In file included from ../src/protocol.h:33:
../src/sound/coreaudio-mac/../../util.h:125:5: warning: definition of implicit copy assignment operator for 'CVector<short>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
CVector ( CVector const& ) = default;
^
../src/client.cpp:1241:36: note: in implicit copy assignment operator for 'CVector<short>' first required here
vecsStereoSndCrdMuteStream = vecsStereoSndCrd;
^
In file included from ../src/audiomixerboard.cpp:25:
In file included from ../src/audiomixerboard.h:43:
../src/util.h:125:5: warning: definition of implicit copy assignment operator for 'CVector<unsigned char>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
CVector ( CVector const& ) = default;
^
../src/protocol.h:182:24: note: in implicit copy assignment operator for 'CVector<unsigned char>' first required here
vecMessage = NewSendMess.vecMessage;
^
Operating system
macOS 12, Xcode 13.4
Version of Jamulus
~master (#2640)
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done