On 10/5/20 11:50 AM, José Abílio Matos wrote: > On Monday, October 5, 2020 2:13:35 PM WEST Jean-Marc Lasgouttes wrote: >> Yes, clang 10 does >> >> JMarc > BTW compiling with clang 11 and without changing the compile flags I get lots > (in the tens) of warnings like this: > > /home/jamatos/lyx/lyx/src/insets/InsetTabular.h:92:7: warning: definition of > implicit copy constructor for 'InsetTableCell' is deprecated because it has a > user-declared copy assignment operator [-Wdeprecated-copy] > void operator=(InsetTableCell const &); > ^ > /home/jamatos/lyx/lyx/src/insets/InsetTabular.h:60:37: note: in implicit copy > constructor for 'lyx::InsetTableCell' first required here > Inset * clone() const { return new InsetTableCell(*this); }
I have seen things like this from time to time. I guess we need to declare our own copy constructor, too.... Riki -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel