Bug 177893: Disable -Wcast-qual for new clang compiler in Apple ports
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Oct 2017 19:12:04 +0000 (19:12 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Oct 2017 19:12:04 +0000 (19:12 +0000)
commita8bd0fc8d777aad13f16ca543f3e3aa508e78691
tree7513155ea92c22635d3536c15608ea9cc127c06f
parentfc33a6bd1ab13f1b286af00b98e030478c8dda0d
Bug 177893: Disable -Wcast-qual for new clang compiler in Apple ports
<https://webkit.org/b/177893>
<rdar://problem/33667497>

Reviewed by Tim Horton.

Source/WebCore:

* Configurations/Base.xcconfig:
(WARNING_CFLAGS): Remvoe -Wcast-qual until we can provide a safe
cast function that lets us re-enable the warning.

Source/WTF:

* wtf/RetainPtr.h:
(WTF::RetainPtr::fromStorageType const): Disable warnings for
-Wcast-qual until we can provide a safe cast function that lets
us re-enable the warning.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/RetainPtr.h
Source/WebCore/ChangeLog
Source/WebCore/Configurations/Base.xcconfig