From cddbfa3ade23695dd9996f6e208615702a3a42e1 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Thu, 23 Nov 2023 09:53:38 +0100 Subject: [PATCH 1/2] normalization: No longer work around compiler bugs in Precondition. To: Patrick Lühne Cc: Martin Gebser Newer versions of GCC (such as GCC 11) point out that std::move is meaningless in this position, so remove it. --- lib/pddl/src/pddl/detail/normalization/Precondition.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/pddl/src/pddl/detail/normalization/Precondition.cpp b/lib/pddl/src/pddl/detail/normalization/Precondition.cpp index 4eebfee..4297e52 100644 --- a/lib/pddl/src/pddl/detail/normalization/Precondition.cpp +++ b/lib/pddl/src/pddl/detail/normalization/Precondition.cpp @@ -83,8 +83,7 @@ normalizedAST::Literal normalizeNested(ast::AndPointer &and_, derivedPredicate->declaration->precondition = std::make_unique>(std::move(normalizedArguments)); - // TODO: investigate, could be a compiler bug - return std::move(derivedPredicate); + return derivedPredicate; } //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -112,8 +111,7 @@ normalizedAST::Literal normalizeNested(ast::ExistsPointer &ex return normalizeTopLevel(x, normalizationContext); }); - // TODO: investigate, could be a compiler bug - return std::move(derivedPredicate); + return derivedPredicate; } //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -174,8 +172,7 @@ normalizedAST::Literal normalizeNested(ast::OrPointer &or_, d derivedPredicate->declaration->precondition = std::make_unique>(std::move(normalizedArguments)); - // TODO: investigate, could be a compiler bug - return std::move(derivedPredicate); + return derivedPredicate; } //////////////////////////////////////////////////////////////////////////////////////////////////// -- 2.41.0 packages?id=9cb0b33771b38adef8bed627d72a5e31c738f25f'>packages/gtk.scm
AgeCommit message (Expand)Author
2023-10-23gnu: at-spi2-core: Skip tests on powerpc-linux....* gnu/packages/gtk.scm (at-spi2-core)[arguments]: When building for powerpc-linux skip the custom 'check phase. Change-Id: I8c609c1cb6eb8b03746e294f7b8e3d0792c43443 Efraim Flashner
2023-07-30gnu: cairomm: Update to 1.16.2....* gnu/packages/gtk.scm (cairomm): Update to 1.16.2. [source]: Hard-code NAME. Tobias Geerinckx-Rice
2023-07-20gnu: pango: Support build for the Hurd....* gnu/packages/gtk.scm (pango)[native-inputs]: Do not include gobject-introspection when building for the Hurd. Janneke Nieuwenhuizen
2023-07-20gnu: harfbuzz: Support build for the Hurd....* gnu/packages/gtk.scm (harfbuzz)[native-inputs]: Do not include gobject-introspection when building for the Hurd. Janneke Nieuwenhuizen
2023-07-20gnu: cairo: Support building for the Hurd....Gobject-introspection and libdrm does not build for the Hurd. Poppler depends on nss, which does not build for the Hurd. * gnu/packages/gtk.scm (cairo)[native-inputs]: When building for the Hurd, do not include gobject-introspection. [inputs]: Likewise, do not include libdrm, poppler. Janneke Nieuwenhuizen
2023-07-16gnu: spread-sheet-widget: Omit static library....* gnu/packages/gtk.scm (spread-sheet-widget)[arguments]: Add "--disable-static" to #:configure-flags. Tobias Geerinckx-Rice
2023-07-16gnu: spread-sheet-widget: Update to 0.8....* gnu/packages/gtk.scm (spread-sheet-widget): Update to 0.8. Tobias Geerinckx-Rice
2023-07-17gnu: Remove harfbuzz-5....As this package definition is redundant, harfbuzz is version 5.3.1. * gnu/packages/gtk.scm (harfbuzz-5): Remove. * gnu/packages/libreoffice.scm (libreoffice)[inputs]: Replace harfbuzz-5 with harfbuzz. * gnu/packages/qt.scm (qtwebengine)[inputs]: Remove redundant replace. Christopher Baines
2023-05-07gnu: gdk-pixbuf: Adjust skipped failing tests....* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]: In 'disable-failing-tests phase skip a different test. Efraim Flashner
2023-05-03gnu: gtksourceview: Update to 5.8.0....* gnu/packages/gtk.scm (gtksourceview): Update to 5.8.0. Efraim Flashner