[Bug 1186741] New: libyui-qt build failure with latest gcc 11.1: [-Werror=mismatched-new-delete]
http://bugzilla.opensuse.org/show_bug.cgi?id=1186741 Bug ID: 1186741 Summary: libyui-qt build failure with latest gcc 11.1: [-Werror=mismatched-new-delete] Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: shundhammer@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- -- The C compiler identification is GNU 11.1.1 -- The CXX compiler identification is GNU 11.1.1 ... ... make[3]: Entering directory '/work/src/yast/libyui/libyui-qt/build' [ 5%] Building CXX object src/CMakeFiles/libyui-qt.dir/YQWidgetFactory.cc.o [ 5%] Building CXX object src/CMakeFiles/libyui-qt.dir/YQLog.cc.o [ 7%] Building CXX object src/CMakeFiles/libyui-qt.dir/libyui-qt_autogen/mocs_compilation.cpp.o [ 8%] Building CXX object src/CMakeFiles/libyui-qt.dir/YQUI.cc.o [ 10%] Building CXX object src/CMakeFiles/libyui-qt.dir/YQUI_builtins.cc.o /work/src/yast/libyui/libyui-qt/src/YQWidgetFactory.cc: In member function ���virtual YQDialog * YQWidgetFactory::createDialog(YDialogType, YDialogColorMode)���: /work/src/yast/libyui/libyui-qt/src/YQWidgetFactory.cc:61:61: error: ���void operator delete(void*, std::size_t)��� called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete] 61 | YQDialog * dialog = new YQDialog( dialogType, colorMode ); | ^ (and many more similar errors) [sh @ balrog-tw-dev] ...src/yast/libyui 9 % rpm -qa "gcc*11*" gcc11-11.1.1+git121-1.12.x86_64 gcc11-c++-11.1.1+git121-1.12.x86_64 gcc11-info-11.1.1+git121-1.12.noarch -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186741
Stefan Hundhammer
http://bugzilla.opensuse.org/show_bug.cgi?id=1186741
http://bugzilla.opensuse.org/show_bug.cgi?id=1186741#c1
Stefan Hundhammer
http://bugzilla.opensuse.org/show_bug.cgi?id=1186741
http://bugzilla.opensuse.org/show_bug.cgi?id=1186741#c2
Stefan Hundhammer
participants (1)
-
bugzilla_noreply@suse.com