Control: tag -1 upstream patch

On Wed, 03 Mar 2021 16:16:49 +0000 Matthias Klose <d...@debian.org> wrote:
> Package: src:qpxtool
> Version: 0.8.1-1
> Usertags: ftbfs-gcc-11
> 
> The package fails to build in a test rebuild on at least amd64 with
> gcc-11/g++-11, but succeeds to build with gcc-10/g++-10.
> 
> [...]
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here
>   123 |     QT_DEPRECATED_X("Use default constructor instead")
>   Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}

The QFlag issue was a warning, (but) not the cause of the build failure.
The build failure was caused by this:

> src/mainwindow.cpp: In member function ‘void QPxToolMW::selectTab()’:
> src/mainwindow.cpp:430:16: error: ordered comparison of pointer with integer
> zero (‘QAction*’ and ‘int’)> 
>   430 |         if (act<0) return;
>           |             ~~~^~

In https://salsa.debian.org/debian/qpxtool/-/merge_requests/2 I submitted a 
patch fixing that issue and with that, the build does succeed.
Also in Salsa's CI (MR 1).

I have a bunch of other patches to be submitted in another MR which among 
others fix the QFlags(Zero) warning. But to fix this RC bug only MR 2 is needed.

Cheers,
  Diederik

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to