Skip to content

Commit

Permalink
Ignore unused-variable warnings cause by V8 header
Browse files Browse the repository at this point in the history
This can be removed after cjntaylor/node-cmake#37
is merged and released.
  • Loading branch information
TheMarex committed Feb 6, 2018
1 parent 6d84c64 commit 86b0322
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/nodejs/json_v8_renderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

#include "osrm/json_container.hpp"

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <nan.h>
#pragma GCC diagnostic pop

#include <functional>

Expand Down
3 changes: 3 additions & 0 deletions include/nodejs/node_osrm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

#include "osrm/osrm_fwd.hpp"

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <nan.h>
#pragma GCC diagnostic pop

#include <memory>

Expand Down

0 comments on commit 86b0322

Please sign in to comment.