[Qt][WK2] Not implemented warnings should not break layout tests
authorkbalazs@webkit.org <kbalazs@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jan 2011 12:16:40 +0000 (12:16 +0000)
committerkbalazs@webkit.org <kbalazs@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jan 2011 12:16:40 +0000 (12:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=52616

Reviewed by Csaba Osztrogon√°c.

* WebKit2Prefix.h: Define DISABLE_NOT_IMPLEMENTED_WARNINGS on Qt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@76014 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebKit2Prefix.h

index f382e2e..1834009 100644 (file)
@@ -1,3 +1,12 @@
+2011-01-18  Balazs Kelemen  <kbalazs@webkit.org>
+
+        Reviewed by Csaba Osztrogon√°c.
+
+        [Qt][WK2] Not implemented warnings should not break layout tests
+        https://bugs.webkit.org/show_bug.cgi?id=52616
+
+        * WebKit2Prefix.h: Define DISABLE_NOT_IMPLEMENTED_WARNINGS on Qt.
+
 2011-01-17  Jon Honeycutt  <jhoneycutt@apple.com>
 
         Windows build fix. Unreviewed.
index 19bee7f..7ed70cb 100644 (file)
@@ -58,6 +58,10 @@ static const type& name() \
 #define JS_EXPORTDATA
 #define JS_EXPORTCLASS
 
+// Disable notImplemented() warnings not to break layout tests.
+// FIXME: WebKit2 logging system should behave identical to WebKit1.
+#define DISABLE_NOT_IMPLEMENTED_WARNINGS 1
+
 #elif defined(__APPLE__)
 
 #if !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD)