woff2_dec.cc triggers -Wsign-compare, -Wunused-but-set-variable
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 May 2016 01:54:51 +0000 (01:54 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 May 2016 01:54:51 +0000 (01:54 +0000)
https://bugs.webkit.org/show_bug.cgi?id=157732

Reviewed by Darin Adler.

* woff2/CMakeLists.txt:

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

Source/ThirdParty/ChangeLog
Source/ThirdParty/woff2/CMakeLists.txt

index 21a2500..ba8547c 100644 (file)
@@ -1,3 +1,12 @@
+2016-05-23  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        woff2_dec.cc triggers -Wsign-compare, -Wunused-but-set-variable
+        https://bugs.webkit.org/show_bug.cgi?id=157732
+
+        Reviewed by Darin Adler.
+
+        * woff2/CMakeLists.txt:
+
 2016-05-22  Brady Eidson  <beidson@apple.com>
 
         Move to C++14.
index 3584a89..e686bd4 100644 (file)
@@ -16,3 +16,4 @@ include_directories("${WOFF2_INCLUDE_DIRECTORIES}")
 add_library(woff2 STATIC ${WOFF2_SOURCES})
 target_link_libraries(woff2 brotli)
 WEBKIT_SET_EXTRA_COMPILER_FLAGS(woff2)
+ADD_TARGET_PROPERTIES(woff2 COMPILE_FLAGS "-Wno-sign-compare -Wno-unused-but-set-variable")