Skip to content

Commit

Permalink
rapidjson: fix gcc7 compile error
Browse files Browse the repository at this point in the history
(cherry picked from commit 8177636)
  • Loading branch information
xeji authored and Mic92 committed Mar 8, 2018
1 parent ee88a41 commit 6d88a00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/rapidjson/default.nix
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 6d88a00

Please sign in to comment.