Skip to content

Commit 89f7607

Browse files
committed
Add -Wno-cast-function-type to suppress GCC8 warnings
See nodejs/nan#807
1 parent 4c7f7ee commit 89f7607

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

binding.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
'<!@(pkg-config pangocairo --cflags-only-I | sed s/-I//g)',
137137
'<!@(pkg-config freetype2 --cflags-only-I | sed s/-I//g)'
138138
],
139+
'cflags': ['-Wno-cast-function-type'],
139140
'cflags!': ['-fno-exceptions'],
140141
'cflags_cc!': ['-fno-exceptions']
141142
}],

0 commit comments

Comments
 (0)