mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
Merge pull request #1 from leleobhz/lineage-16.0
* Fixed Werror pragma position in jpeg_hal_unit.cpp
This commit is contained in:
commit
118693e7d9
5 changed files with 17 additions and 2 deletions
|
@ -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
|
#ifndef FIMG_API_H
|
||||||
#define FIMG_API_H
|
#define FIMG_API_H
|
||||||
|
|
||||||
|
|
|
@ -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_NDEBUG 0
|
||||||
#define LOG_TAG "SKIA"
|
#define LOG_TAG "SKIA"
|
||||||
#include <utils/Log.h>
|
#include <utils/Log.h>
|
||||||
|
|
|
@ -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_NDEBUG 0
|
||||||
#define LOG_TAG "FimgExynos4"
|
#define LOG_TAG "FimgExynos4"
|
||||||
#include <utils/Log.h>
|
#include <utils/Log.h>
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
|
|
||||||
#define LOG_TAG "libhwjpeg"
|
#define LOG_TAG "libhwjpeg"
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wunused-function"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -35,8 +37,6 @@
|
||||||
|
|
||||||
#include "jpeg_hal.h"
|
#include "jpeg_hal.h"
|
||||||
|
|
||||||
#pragma clang diagnostic ignored "-Wunused-function"
|
|
||||||
|
|
||||||
#ifdef JPEG_PERF_MEAS
|
#ifdef JPEG_PERF_MEAS
|
||||||
unsigned long measure_time(struct timeval *start, struct timeval *stop)
|
unsigned long measure_time(struct timeval *start, struct timeval *stop)
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
|
|
||||||
#define LOG_TAG "SapClient"
|
#define LOG_TAG "SapClient"
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
||||||
|
|
||||||
#include <binder/Parcel.h>
|
#include <binder/Parcel.h>
|
||||||
#include <telephony/ril.h>
|
#include <telephony/ril.h>
|
||||||
#include <cutils/record_stream.h>
|
#include <cutils/record_stream.h>
|
||||||
|
|
Loading…
Reference in a new issue