diff --git a/exynos4/hal/include/FimgApi.h b/exynos4/hal/include/FimgApi.h index 469dd00..208da9d 100644 --- a/exynos4/hal/include/FimgApi.h +++ b/exynos4/hal/include/FimgApi.h @@ -18,6 +18,10 @@ ** */ +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wmismatched-tags" +#pragma clang diagnostic ignored "-Wunused-variable" + #ifndef FIMG_API_H #define FIMG_API_H 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 diff --git a/exynos4/hal/libfimg4x/FimgExynos4.cpp b/exynos4/hal/libfimg4x/FimgExynos4.cpp index fc6922f..b72a64e 100644 --- a/exynos4/hal/libfimg4x/FimgExynos4.cpp +++ b/exynos4/hal/libfimg4x/FimgExynos4.cpp @@ -17,6 +17,10 @@ ** */ +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wmismatched-tags" +#pragma clang diagnostic ignored "-Wunused-variable" + #define LOG_NDEBUG 0 #define LOG_TAG "FimgExynos4" #include diff --git a/exynos4/hal/libhwjpeg/jpeg_hal_unit.cpp b/exynos4/hal/libhwjpeg/jpeg_hal_unit.cpp index 3aaa6a5..715f917 100644 --- a/exynos4/hal/libhwjpeg/jpeg_hal_unit.cpp +++ b/exynos4/hal/libhwjpeg/jpeg_hal_unit.cpp @@ -16,6 +16,8 @@ #define LOG_TAG "libhwjpeg" +#pragma clang diagnostic ignored "-Wunused-function" + #include #include #include @@ -35,8 +37,6 @@ #include "jpeg_hal.h" -#pragma clang diagnostic ignored "-Wunused-function" - #ifdef JPEG_PERF_MEAS unsigned long measure_time(struct timeval *start, struct timeval *stop) { diff --git a/ril/libsecril-client-sap/secril-client-sap.cpp b/ril/libsecril-client-sap/secril-client-sap.cpp index 1182b90..8b73901 100755 --- a/ril/libsecril-client-sap/secril-client-sap.cpp +++ b/ril/libsecril-client-sap/secril-client-sap.cpp @@ -16,6 +16,8 @@ #define LOG_TAG "SapClient" +#pragma clang diagnostic ignored "-Wunused-variable" + #include #include #include