Skip to content

Commit 9a020a6

Browse files
authored
fix: Remove V8_DEPRECATION_WARNINGS define to fix build with GCC <= 12 (#42)
1 parent 45bc131 commit 9a020a6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

binding.gyp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
{
44
"target_name": "stack-trace",
55
"sources": [ "module.cc" ],
6+
# With V8_DEPRECATION_WARNINGS defined, the class-level V8_DEPRECATED
7+
# annotations in the V8 15+ (Electron >= 43) headers expand to a mix of
8+
# C++11 and GNU attributes that GCC <= 12 cannot parse
9+
"defines!": [ "V8_DEPRECATION_WARNINGS=1" ],
610
"conditions": [
711
["OS=='win'", {
812
"defines": [

0 commit comments

Comments
 (0)