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 href='/guix/log/gnu/services?id=125d7c587199f10b184aef102ed3eabedf0d4382'>services/auditd.scm
licate entry"): New test.
AgeCommit message (Expand)Author
2019-06-06services: Add auditd....* gnu/services/auditd.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Miscellaneous Services): Document it. Danny Milosavljevic
Ludovic Courtès
2019-04-27tests: Adjust accounts test to shell-as-config change....This is a followup to 504a0fc636ec591e65b4a229a37e522e425d8a0c. * tests/accounts.scm ("allocate-passwd with previous state"): Change expected 'shell' for "alice" to "/bin/sh". Ludovic Courtès
2019-03-25accounts: Add default value for the 'home-directory' field of <user-account>....* gnu/system/accounts.scm (<user-account>)[home-directory]: Mark as thunked and add a default value. (default-home-directory): New procedure. * doc/guix.texi (User Accounts): Remove 'home-directory' from example. * gnu/system/examples/bare-bones.tmpl: Likewise. * gnu/system/examples/beaglebone-black.tmpl: Likewise. * gnu/system/examples/desktop.tmpl: Likewise. * gnu/system/examples/docker-image.tmpl: Likewise. * gnu/system/examples/lightweight-desktop.tmpl: Likewise. * gnu/system/install.scm (installation-os): Likewise. * gnu/tests.scm (%simple-os): Likewise. * gnu/tests/install.scm (%minimal-os, %minimal-os-on-vda): (%separate-home-os, %encrypted-root-os, %btrfs-root-os): Likewise. * tests/accounts.scm ("allocate-passwd") ("allocate-passwd with previous state"): Likewise. Ludovic Courtès
2019-03-07Add (gnu build accounts)....* gnu/build/accounts.scm, tests/accounts.scm: New files. * Makefile.am (SCM_TESTS): Add tests/accounts.scm. * gnu/local.mk (GNU_SYSTEM_MODULES): Add build/accounts.scm. Ludovic Courtès