Disable -Werror=implicit-fallthrough on GCC7 and later. Taken from upstream: https://github.com/Tencent/rapidjson/commit/fe19b7b6016d446722621fb407738209d1a911e8 https://github.com/Tencent/rapidjson/commit/cba45fe9de6923b858edb0780e257b7257aa4f7b diff --git a/include/rapidjson/internal/regex.h b/include/rapidjson/internal/regex.h index 422a5240..d4039716 100644 --- a/include/rapidjson/internal/regex.h +++ b/include/rapidjson/internal/regex.h @@ -29,6 +29,9 @@ RAPIDJSON_DIAG_OFF(implicit-fallthrough) #ifdef __GNUC__ RAPIDJSON_DIAG_PUSH RAPIDJSON_DIAG_OFF(effc++) +#if __GNUC__ >= 7 +RAPIDJSON_DIAG_OFF(implicit-fallthrough) +#endif #endif #ifdef _MSC_VER 275116311482ec0d32707e1c0d39934878eccb5'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/nix/libstore/worker-protocol.hh
AgeCommit message (Collapse)Author
2023-12-11daemon: Implement ‘substitute-urls’ RPC.Ludovic Courtès
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump. (WorkerOp): Add ‘wopSubstituteURLs’. * nix/nix-daemon/nix-daemon.cc (performOp): Implement it. * guix/store.scm (%protocol-version): Bump. (operation-id): Add ‘substitute-urls’. (substitute-urls): New procedure. * tests/store.scm ("substitute-urls, default") ("substitute-urls, client-specified URLs") ("substitute-urls, disabled"): New tests. Change-Id: I2c0119500c3a1eecfa5ebf32463ffb0f173161de