]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r259083:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 Dec 2013 07:28:26 +0000 (07:28 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 10 Dec 2013 07:28:26 +0000 (07:28 +0000)
commit4b9de9960a92118e22de5e95ce3eca55ad607922
tree2a519d60f52fcdac502428ea6a044795a3af40f5
parentc1ad681a54b0773157fa4d41e79e7e88481d86a3
MFC r259083:

For WARNS <= 3, change the clang warning flag -Wno-conversion to
-Wno-enum-conversion.  In earlier clang versions (before 3.2), the
latter did not exist, and suppressing enum conversion warnings was
really the goal of this warning suppression flag.

This should enable the same kind of warning again as was fixed by
r259072 ("incompatible integer to pointer conversion passing 'Elf_Addr'
(aka 'unsigned int') to parameter of type 'void *'"), and which was only
emitted by gcc.

Noticed by: kib

git-svn-id: svn://svn.freebsd.org/base/stable/9@259158 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/mk/bsd.sys.mk