summaryrefslogtreecommitdiffstats
path: root/exynos4
diff options
context:
space:
mode:
authorLeonardo Amaral <contato@leonardoamaral.com.br>2019-03-18 21:34:09 -0300
committerLeonardo Amaral <contato@leonardoamaral.com.br>2019-03-18 21:34:09 -0300
commit61e45bf65b17d65e193cb367047e57ddf4b44df8 (patch)
tree2a51a1379725f14c402fa4f209c5227fb2ce94d6 /exynos4
parent9729d298ec77ccbc735aca16671c1dfc41c9c888 (diff)
downloadhardware_samsung-61e45bf65b17d65e193cb367047e57ddf4b44df8.tar.gz
hardware_samsung-61e45bf65b17d65e193cb367047e57ddf4b44df8.tar.bz2
hardware_samsung-61e45bf65b17d65e193cb367047e57ddf4b44df8.zip
* Added Werrors fix to FimgApi.cpp
This case there is a violation of C++11 about writable strings. The main objective of this sort of patch is allow compiling, since this issue is just compilation warnings trigging a compile error.
Diffstat (limited to 'exynos4')
-rw-r--r--exynos4/hal/libfimg4x/FimgApi.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/exynos4/hal/libfimg4x/FimgApi.cpp b/exynos4/hal/libfimg4x/FimgApi.cpp
index 8523866..b70c309 100644
--- a/exynos4/hal/libfimg4x/FimgApi.cpp
+++ b/exynos4/hal/libfimg4x/FimgApi.cpp
@@ -17,6 +17,11 @@
**
*/
+#pragma clang diagnostic ignored "-Wsign-compare"
+#pragma clang diagnostic ignored "-Wformat"
+/* C++11 violation */
+#pragma clang diagnostic ignored "-Wwritable-strings"
+
#define LOG_NDEBUG 0
#define LOG_TAG "SKIA"
#include <utils/Log.h>