Skip to content

Commit

Permalink
Merge pull request #36512 from xeji/rapidjson-gcc7
Browse files Browse the repository at this point in the history
rapidjson: fix build error with gcc7
  • Loading branch information
Mic92 authored Mar 8, 2018
2 parents 8e411e4 + 8177636 commit 1a7b549
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/rapidjson/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ pkgconfig cmake ];

# detected by gcc7
NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ];

meta = with lib; {
description = "Fast JSON parser/generator for C++ with both SAX/DOM style API";
homepage = "http://rapidjson.org/";
Expand Down

0 comments on commit 1a7b549

Please sign in to comment.