Merge pull request #1 from leleobhz/lineage-16.0

* Fixed Werror pragma position in jpeg_hal_unit.cpp
This commit is contained in:
Shilin Victor 2019-03-19 09:56:02 +03:00 committed by GitHub
commit 118693e7d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 2 deletions

View File

@ -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

View File

@ -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>

View File

@ -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 <utils/Log.h>

View File

@ -16,6 +16,8 @@
#define LOG_TAG "libhwjpeg"
#pragma clang diagnostic ignored "-Wunused-function"
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
@ -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)
{

View File

@ -16,6 +16,8 @@
#define LOG_TAG "SapClient"
#pragma clang diagnostic ignored "-Wunused-variable"
#include <binder/Parcel.h>
#include <telephony/ril.h>
#include <cutils/record_stream.h>