File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
graalpython/com.oracle.graal.python.cext Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,11 @@ set(TARGET_LIBPYTHON "python-${LLVM_MODE}")
60
60
# common variables and compile/link options (for all build targets)
61
61
######################################################################
62
62
63
- set (CFLAGS_WARNINGS -Wall -Werror -Wno-unused-function -Wno-unused-variable -Wno-unused-const-variable
63
+ set (CFLAGS_WARNINGS -Wall -Werror,-Wunknown-warning-option -Wno-unused-function -Wno-unused-variable -Wno-unused-const-variable
64
64
-Wno-tautological-constant-out-of-range-compare # fileutils.c: wchar_t > MAX_UNICODE is always false on Windows
65
65
-Wno-unused-but-set-variable # sqlite.c: BOOL bRc
66
66
-Wno-ignored-pragmas # sre.c: #pragma optimize("agtw", on)
67
+ -Wno-discarded-qualifiers # longobject.c: *pend = str; (gcc only hence: '-Wunknown-warning-option')
67
68
-Wno-int-to-pointer-cast -Wno-int-conversion -Wno-void-pointer-to-int-cast
68
69
-Wno-incompatible-pointer-types-discards-qualifiers -Wno-pointer-type-mismatch
69
70
-Wno-braced-scalar-init -Wno-deprecated-declarations )
You can’t perform that action at this time.
0 commit comments