Unverified Commit 75f32855 authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

packcc: fix failing test due to clang 16

Downgrade -Wstrict-prototypes and -Wint-conversion to non-errors, so the
code_generation.d test does not fail unexpectedly.
parent 3925a35d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ stdenv.mkDerivation rec {

    # Disable a failing test.
    rm -rf ../../tests/style.d
  '' + lib.optionalString stdenv.cc.isClang ''
    export NIX_CFLAGS_COMPILE+=' -Wno-error=strict-prototypes -Wno-error=int-conversion'
  '';

  installPhase = ''