Print this page
gag Studio warnings that only occur with an adjunct proto
Studio has no equivalent to -isystem, and no option to its -errhdr that
seems equivalent. As such, we have to gag the warnings that are induced
from the 3rd party headers when those headers are found via the adjunct,
as they will not match Studio's seemingly hard-coded exception on
`/usr/include`
@@ -45,10 +45,14 @@
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-function
+# This is, unfortunately, from the glib headers. Studio provides no
+# equivalent to -isystem
+CERRWARN += -_cc=-erroff=E_INTEGER_OVERFLOW_DETECTED
+
.KEEP_STATE:
all: $(PROG)
$(PROG): $(OBJS)