瀏覽代碼

Enable -Wpointer-arith by default

Samuel Thibault 4 年之前
父節點
當前提交
ca872735a1
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      configure.ac

+ 2 - 0
configure.ac

@@ -2262,6 +2262,8 @@ IS_SUPPORTED_FLAG(-Wunused)
 IS_SUPPORTED_CFLAG(-Wundef)
 IS_SUPPORTED_CXXFLAG(-Wundef)
 IS_SUPPORTED_FLAG(-Wshadow)
+IS_SUPPORTED_CFLAG(-Wpointer-arith)
+IS_SUPPORTED_CXXFLAG(-Wpointer-arith)
 
 if test "x$STARPU_DEVEL" != x; then
 	AC_DEFINE(STARPU_DEVEL, [1], [enable developer warnings])