提交 58c75cfb 编写于 作者: D Dave Chinner

xfs: make compile warn about char sign mismatches again

The -fno-unsigned-char directive has no effect anymore as the
XFs build is clean. However, the kernel build hides pointer sign
differences so turn that back on so that we can clean up all the
mismatches prior to a userspace code resync.
Signed-off-by: NDave Chinner <david@fromorbit.com>
Reviewed-by: NChristoph Hellwig <hch@lst.de>
上级 4a24cb71
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
EXTRA_CFLAGS += -I$(src) -I$(src)/linux-2.6 -funsigned-char EXTRA_CFLAGS += -I$(src) -I$(src)/linux-2.6 -Wpointer-sign
XFS_LINUX := linux-2.6 XFS_LINUX := linux-2.6
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册