git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #36512 from xeji/rapidjson-gcc7

rapidjson: fix build error with gcc7

commit1a7b5493c04e08f263a1929f9e5e30df44d8dffb authorJörg Thalheim <Mic92@users.noreply.github.com> dateThu 8 Mar 2018, 22:21 (9 years ago) parent8e411e48177636
1 file changed+3
pkgs/development/libraries/rapidjson/default.nix+3
pkgs/development/libraries/rapidjson/default.nix+3
@@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ pkgconfig cmake ];
1515
16+ # detected by gcc7
17+ NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ];
18+
1619 meta = with lib; {
1720 description = "Fast JSON parser/generator for C++ with both SAX/DOM style API";
1821 homepage = "http://rapidjson.org/";