From c16380b5b46872c011d6aad9b7698e08fe6041a7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Fri, 7 May 2021 20:57:33 +0200 Subject: [PATCH] gnuapl: Fix build One instance of this error/warning comes up during the build. According to the comment in the code they know what they are doing, so this can be ignored. --- pkgs/development/interpreters/gnu-apl/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/interpreters/gnu-apl/default.nix b/pkgs/development/interpreters/gnu-apl/default.nix index 9ae373ff7a8..abfa74bb67d 100644 --- a/pkgs/development/interpreters/gnu-apl/default.nix +++ b/pkgs/development/interpreters/gnu-apl/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { "-Wno-error=class-memaccess" "-Wno-error=restrict" "-Wno-error=format-truncation" + # Needed with GCC 10 + "-Wno-error=maybe-uninitialized" ]) ++ optional stdenv.cc.isClang "-Wno-error=null-dereference"); patchPhase = lib.optionalString stdenv.isDarwin ''