Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package atlascpp for openSUSE:Factory checked in at 2026-09-18 22:15:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/atlascpp (Old) and /work/SRC/openSUSE:Factory/.atlascpp.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "atlascpp" Fri Sep 18 22:15:57 2026 rev:5 rq:1378838 version:0.6.4 Changes: -------- --- /work/SRC/openSUSE:Factory/atlascpp/atlascpp.changes 2025-06-10 09:11:05.105821033 +0200 +++ /work/SRC/openSUSE:Factory/.atlascpp.new.383539/atlascpp.changes 2026-09-18 22:15:58.753331765 +0200 @@ -1,0 +2,5 @@ +Thu Aug 6 03:38:39 UTC 2026 - Bernhard Wiedemann <[email protected]> + +- Add atlascpp-gcc16-cxx20-equality.patch: fix build with GCC 16 + +------------------------------------------------------------------- New: ---- atlascpp-gcc16-cxx20-equality.patch ----------(New B)---------- New: - Add atlascpp-gcc16-cxx20-equality.patch: fix build with GCC 16 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ atlascpp.spec ++++++ --- /var/tmp/diff_new_pack.wGGoHa/_old 2026-09-18 22:15:59.903379959 +0200 +++ /var/tmp/diff_new_pack.wGGoHa/_new 2026-09-18 22:15:59.907380127 +0200 @@ -25,6 +25,8 @@ Group: Development/Languages/C and C++ URL: http://www.worldforge.org/index.php/components/atlas-cpp/ Source: http://downloads.sourceforge.net/worldforge/Atlas-C++-%{version}.tar.bz2 +# PATCH-FIX-OPENSUSE atlascpp-gcc16-cxx20-equality.patch -- fix C++20 ambiguous operator== with GCC 16 +Patch0: atlascpp-gcc16-cxx20-equality.patch BuildRequires: gcc-c++ BuildRequires: libbz2-devel BuildRequires: libstdc++-devel @@ -60,7 +62,7 @@ clients or servers. %prep -%setup -q -n Atlas-C++-%{version} +%autosetup -p1 -n Atlas-C++-%{version} %build export CFLAGS="%{optflags} -fno-strict-aliasing" ++++++ atlascpp-gcc16-cxx20-equality.patch ++++++ Fix build with GCC 16 (default -std=gnu++20). In C++20, comparing two DataType<C> objects via the member operator==(const C&) (through the operator C&() conversion) becomes ambiguous with its own argument-reversed candidate, which -Wall diagnoses and -Werror rejects in Element.cpp. Give DataType a direct operator==(const DataType&) overload so the comparison is an exact match; this mirrors what upstream did in the worldforge monorepo (libs/atlas Element.h). --- a/Atlas/Message/Element.h +++ b/Atlas/Message/Element.h @@ -474,6 +474,8 @@ bool operator==(const C& c) const {return _data == c;} + bool operator==(const DataType& c) const {return _data == c._data;} + void ref() {++_refcount;} void unref() {if(--_refcount == 0) delete this;}
