Skip to content

Commit 56b1444

Browse files
committed
deps: add compiler flag to uv.gyp for warnings
1 parent f1991bd commit 56b1444

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/uv/uv.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@
188188
'-Wall',
189189
'-Wextra',
190190
'-Wno-unused-parameter',
191+
# `uv_cpu_info_t.model` is exposed as `const char*`, but libuv frees
192+
# the owned buffer internally via `uv__free(void*)`.
193+
'-Wno-incompatible-pointer-types-discards-qualifiers',
191194
'-Wstrict-prototypes',
192195
],
193196
'OTHER_CFLAGS': [ '-g', '--std=gnu11' ],

0 commit comments

Comments
 (0)