mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
cbmc: fix build with GCC 16 (#568925)
This commit is contained in:
@@ -94,6 +94,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# fix "first argument in call to 'memset' is a pointer to non-trivially copyable type"
|
||||
"-Wno-error=nontrivial-memcall"
|
||||
]
|
||||
++ lib.optionals stdenv.cc.isGNU [
|
||||
"-Wno-error=unused-but-set-variable"
|
||||
"-Wno-error=sfinae-incomplete"
|
||||
"-Wno-error=array-bounds"
|
||||
]
|
||||
);
|
||||
|
||||
# TODO: add jbmc support
|
||||
@@ -119,7 +124,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
description = "Bounded Model Checker for C and C++ programs";
|
||||
homepage = "http://www.cprover.org/cbmc/";
|
||||
license = lib.licenses.bsdOriginal;
|
||||
maintainers = with lib.maintainers; [ jiegec ];
|
||||
maintainers = with lib.maintainers; [
|
||||
jiegec
|
||||
mkannwischer
|
||||
];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user