Title: [228126] trunk/Source/ThirdParty
Revision
228126
Author
mcatanz...@igalia.com
Date
2018-02-05 14:19:17 -0800 (Mon, 05 Feb 2018)

Log Message

Unreviewed, silence -Wimplicit-fallthrough in openvr
https://bugs.webkit.org/show_bug.cgi?id=182117

* openvr/patches/cmake-build.patch:
* openvr/src/CMakeLists.txt:

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ChangeLog (228125 => 228126)


--- trunk/Source/ThirdParty/ChangeLog	2018-02-05 22:13:51 UTC (rev 228125)
+++ trunk/Source/ThirdParty/ChangeLog	2018-02-05 22:19:17 UTC (rev 228126)
@@ -1,3 +1,11 @@
+2018-02-05  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        Unreviewed, silence -Wimplicit-fallthrough in openvr
+        https://bugs.webkit.org/show_bug.cgi?id=182117
+
+        * openvr/patches/cmake-build.patch:
+        * openvr/src/CMakeLists.txt:
+
 2018-02-04  Zan Dobersek  <zdober...@igalia.com>
 
         Lots of build warnings from Source/ThirdParty/openvr

Modified: trunk/Source/ThirdParty/openvr/patches/cmake-build.patch (228125 => 228126)


--- trunk/Source/ThirdParty/openvr/patches/cmake-build.patch	2018-02-05 22:13:51 UTC (rev 228125)
+++ trunk/Source/ThirdParty/openvr/patches/cmake-build.patch	2018-02-05 22:19:17 UTC (rev 228126)
@@ -65,7 +65,7 @@
  
  if(USE_CUSTOM_LIBCXX)
         link_directories(
-@@ -65,28 +67,34 @@ elseif(BUILD_FRAMEWORK)
+@@ -65,28 +67,35 @@ elseif(BUILD_FRAMEWORK)
         set( LIBNAME "OpenVR" )
         add_library( ${LIBNAME} 
              SHARED ${SOURCE_FILES}
@@ -99,7 +99,8 @@
  endif()
  
 +if (COMPILER_IS_GCC_OR_CLANG)
-+    WEBKIT_ADD_TARGET_CXX_FLAGS(${LIBNAME} -Wno-unknown-pragmas
++    WEBKIT_ADD_TARGET_CXX_FLAGS(${LIBNAME} -Wno-implicit-fallthrough
++                                           -Wno-unknown-pragmas
 +                                           -Wno-unused-parameter
 +                                           -Wno-unused-variable)
 +endif()

Modified: trunk/Source/ThirdParty/openvr/src/CMakeLists.txt (228125 => 228126)


--- trunk/Source/ThirdParty/openvr/src/CMakeLists.txt	2018-02-05 22:13:51 UTC (rev 228125)
+++ trunk/Source/ThirdParty/openvr/src/CMakeLists.txt	2018-02-05 22:19:17 UTC (rev 228126)
@@ -90,7 +90,8 @@
 endif()
 
 if (COMPILER_IS_GCC_OR_CLANG)
-    WEBKIT_ADD_TARGET_CXX_FLAGS(${LIBNAME} -Wno-unknown-pragmas
+    WEBKIT_ADD_TARGET_CXX_FLAGS(${LIBNAME} -Wno-implicit-fallthrough
+                                           -Wno-unknown-pragmas
                                            -Wno-unused-parameter
                                            -Wno-unused-variable)
 endif()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to