addflags("-Wextra")
addflags("-pedantic")
-addflags("-Wno-parentheses")
+addflags_c("-Wno-deprecated-declarations") # vfs.c: g_strdown
+
addflags("-Wno-sign-compare")
-addflags("-Wno-write-strings")
addflags("-Wno-unused-function")
addflags("-Wno-unused-variable")
addflags("-Wno-unused-parameter")
-addflags("-Wno-deprecated-declarations")
-addflags("-Wno-unused-but-set-variable")
-addflags("-Wno-missing-field-initializers")
-
-addflags_c("-Wno-int-conversion")
-addflags_c("-Wno-pointer-to-int-cast")
-addflags_c("-Wno-incompatible-pointer-types")
-
-addflags_cxx("-Wno-reorder")
-addflags_cxx("-Wno-delete-non-virtual-dtor")
set(CMAKE_POSITION_INDEPENDENT_CODE 1)
set(GTK_TARGET 2 CACHE STRING "GTK target")