Title: [129286] trunk/Source/WebKit2
Revision
129286
Author
[email protected]
Date
2012-09-21 18:13:54 -0700 (Fri, 21 Sep 2012)

Log Message

Fix WebKit2 sandbox profile.

Instead of using #pragmas, just disable all warnings in DerivedSources.make. I suspect
that passing -traditional to the preprocessor disables support for #pragmas but I'm afraid
to change it to something else.

* DerivedSources.make:
* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (129285 => 129286)


--- trunk/Source/WebKit2/ChangeLog	2012-09-22 01:00:30 UTC (rev 129285)
+++ trunk/Source/WebKit2/ChangeLog	2012-09-22 01:13:54 UTC (rev 129286)
@@ -1,3 +1,14 @@
+2012-09-21  Anders Carlsson  <[email protected]>
+
+        Fix WebKit2 sandbox profile.
+
+        Instead of using #pragmas, just disable all warnings in DerivedSources.make. I suspect
+        that passing -traditional to the preprocessor disables support for #pragmas but I'm afraid
+        to change it to something else.
+
+        * DerivedSources.make:
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2012-09-21  Benjamin Poulain  <[email protected]>
 
         fast/dom/Geolocation/disconnected-frame.html test asserts

Modified: trunk/Source/WebKit2/DerivedSources.make (129285 => 129286)


--- trunk/Source/WebKit2/DerivedSources.make	2012-09-22 01:00:30 UTC (rev 129285)
+++ trunk/Source/WebKit2/DerivedSources.make	2012-09-22 01:13:54 UTC (rev 129286)
@@ -119,7 +119,7 @@
 HEADER_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) | perl -e 'print "-I" . join(" -I", split(" ", <>));')
 
 ifeq ($(TARGET_GCC_VERSION),LLVM_COMPILER)
-	TEXT_PREPROCESSOR_FLAGS=-E -P -x c -traditional
+	TEXT_PREPROCESSOR_FLAGS=-E -P -x c -traditional -w
 else
 	TEXT_PREPROCESSOR_FLAGS=-E -P -x c -std=c89
 endif

Modified: trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in (129285 => 129286)


--- trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in	2012-09-22 01:00:30 UTC (rev 129285)
+++ trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in	2012-09-22 01:13:54 UTC (rev 129286)
@@ -1,6 +1,3 @@
-#pragma clang diagnostic ignored "-Wunknown-pragmas"
-#pragma clang diagnostic ignored "-Winvalid-pp-token"
-
 (version 1)
 (deny default (with partial-symbolication))
 (allow ipc-posix-shm system-audit system-socket file-read-metadata)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to