]> CyberLeo.Net >> Repos - FreeBSD/stable/10.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)
commite186d7b0b3e8fd45b7437a8e09e077f347feca44
tree8815de90f5c77640aa31a56dbcfa06022c4f65aa
parentf173d962ede9ba494243ec3679713129f343c607
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/10@259158 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/mk/bsd.sys.mk