Making all in autotests
Making all in config
Making all in development
Making all in po
Making all in 3rdparty
Making all in nod
Making all in src
CHK lyx_commit_hash.h
Making all in support
Making all in frontends
Making all in qt
Making all in .
Making all in .
CHK lyx_commit_hash.h
CXX LayoutFile.o
LayoutFile.cpp: In destructor 'lyx::LayoutFileList::~LayoutFileList()':
LayoutFile.cpp:53:17: error: deleting object of polymorphic class type
'lyx::LayoutFile' which has non-virtual destructor might cause undefined
behavior [-Werror=delete-non-virtual-dtor]
53 | delete it->second;
| ^~~~~~~~~~~~~~~~~
LayoutFile.cpp: In member function 'void lyx::LayoutFileList::reset(const
lyx::LayoutFileIndex&)':
LayoutFile.cpp:204:9: error: deleting object of polymorphic class type
'lyx::LayoutFile' which has non-virtual destructor might cause undefined
behavior [-Werror=delete-non-virtual-dtor]
204 | delete tc;
| ^~~~~~~~~
LayoutFile.cpp: In member function 'lyx::LayoutFileIndex
lyx::LayoutFileList::addLocalLayout(const std::string&, const std::string&,
const std::string&)':
LayoutFile.cpp:357:17: error: deleting object of polymorphic class type
'lyx::LayoutFile' which has non-virtual destructor might cause undefined
behavior [-Werror=delete-non-virtual-dtor]
357 | delete classmap_[textclass];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[4]: *** [Makefile:2400: LayoutFile.o] Error 1
make[3]: *** [Makefile:2548: all-recursive] Error 1
make[2]: *** [Makefile:1690: all] Error 2
make[1]: *** [Makefile:585: all-recursive] Error 1
make: *** [Makefile:480: all] Error 2
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel