ソースを参照

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])