Fix <rdar://problem/5602936> Need to resolve new GCC 4.2 warnings.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Nov 2007 03:08:41 +0000 (03:08 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Nov 2007 03:08:41 +0000 (03:08 +0000)
commit40ee4e4f2eb663a5dd84dff6c8aa7a209f958eae
treebdd6ad88ecad5b3a27a374e0feba08dcbe141cf8
parentad9ec60a6dea50252a880915ebbb810671336563
Fix <rdar://problem/5602936> Need to resolve new GCC 4.2 warnings.

Reviewed by Tim Hatcher.

Fix all warnings emitted by GCC 4.2 when building JavaScriptCore.  This allows builds with
-Werror to succeed.  At present they will crash when executed due to code that is not safe
under strict aliasing (<rdar://problem/5536806>).

This required some format strings to be modified in WebCore and WebKit as their format
specifiers did not match the argument type.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/Configurations/Base.xcconfig
JavaScriptCore/kjs/date_object.cpp
JavaScriptCore/kjs/dtoa.cpp
JavaScriptCore/pcre/pcre_exec.cpp
JavaScriptCore/wtf/Assertions.cpp
JavaScriptCore/wtf/Assertions.h
WebCore/ChangeLog
WebCore/loader/icon/IconDatabase.cpp
WebCore/platform/mac/TextCodecMac.cpp
WebCore/storage/Database.cpp
WebKit/mac/ChangeLog
WebKit/mac/Misc/WebGraphicsExtras.c