Skip to content

Commit

Permalink
chore: silence deprecation warnings that appear with gcc 8
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanmar511 committed May 15, 2019
1 parent d9367ab commit a0fa6ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"sources": [
"bindings/profiler.cc",
],
"include_dirs": [ "<!(node -e \"require('nan')\")" ]
"include_dirs": [ "<!(node -e \"require('nan')\")" ],
# TODO(#62): The following line suppresses compliation warnings
# originating from v8 and node that appear when gcc 8 is used.
# Once the warnings are fixed upstream, this line should be removed.
"cflags": [ "-Wno-cast-function-type" ]
},
{
"target_name": "action_after_build",
Expand Down

0 comments on commit a0fa6ab

Please sign in to comment.