[Samsung Galaxy Player 4.0, 5.0] dorfd1:
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:323:19: warning: unused parameter 'size' [-Wunused-parameter]
jpg_return_status JpegEncoder::encodeThumbImg(unsigned int *size, bool useMain)
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp: In member function 'android::jpg_return_status android::JpegEncoder::makeExif(unsigned char*, exif_attribute_t*, unsigned int*, bool)':
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:44: warning: narrowing conversion of '((tmp >> 8) & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:56: warning: narrowing conversion of '(tmp & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:453:12: warning: unused parameter 'ctx' [-Wunused-parameter]
static int get_dst_phys_addr(struct hwc_context_t *ctx,
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
};
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:70:12: warning: unused parameter 'win_idx' [-Wunused-parameter]
static int set_src_dst_info(hwc_layer_1_t *cur,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: In function 'int hwc_prepare(hwc_composer_device_1_t*, size_t, hwc_display_contents_1_t**)':
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:247:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list->numHwLayers ; i++) {
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: At global scope:
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:290:12: warning: unused parameter 'numDisplays' [-Wunused-parameter]
static int hwc_set(hwc_composer_device_1_t *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:483:12: warning: unused parameter 'disp' [-Wunused-parameter]
static int hwc_blank(struct hwc_composer_device_1 *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:531:12: warning: unused parameter 'dpy' [-Wunused-parameter]
static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
^
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
target thumb C: lights.s5pc110 <= device/samsung/ypg1/liblight/lights.c
target thumb C: local_time.default <= hardware/libhardware/modules/local_time/local_time_hw.c
device/samsung/ypg1/liblight/lights.c: In function 'write_int':
device/samsung/ypg1/liblight/lights.c:41:1: warning: unknown escape sequence: '\040' [enabled by default]
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c:41:2: error: stray '\' in program
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
In file included from system/core/include/cutils/log.h:1:0,
from device/samsung/ypg1/liblight/lights.c:19:
device/samsung/ypg1/liblight/lights.c:41:29: error: 's' undeclared (first use in this function)
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c:41:29: note: each undeclared identifier is reported only once for each function it appears in
device/samsung/ypg1/liblight/lights.c:41:31: error: expected ')' before string constant
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_notifications':
device/samsung/ypg1/liblight/lights.c:81:2: warning: too many arguments for format [-Wformat-extra-args]
ALOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
^
device/samsung/ypg1/liblight/lights.c:67:59: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_notifications(struct light_device_t* dev,
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_backlight':
device/samsung/ypg1/liblight/lights.c:87:55: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_backlight(struct light_device_t *dev,
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_buttons':
device/samsung/ypg1/liblight/lights.c:100:53: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_buttons(struct light_device_t *dev,
^
make: *** [/home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/lights.s5pc110_intermediates/lights.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/libhardware/modules/local_time/local_time_hw.c: In function 'ltdev_get_local_freq':
hardware/libhardware/modules/local_time/local_time_hw.c:53:67: warning: unused parameter 'dev' [-Wunused-parameter]
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* dev)
^

it is saying that dev is an unused parmeter