Skip to content

Instantly share code, notes, and snippets.

@stranger75
Created November 15, 2018 14:18
Show Gist options
  • Save stranger75/75345f495a1fb49f5f11cf6df973b165 to your computer and use it in GitHub Desktop.
Save stranger75/75345f495a1fb49f5f11cf6df973b165 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
user@user-All-Series:~/android/cm-15.1$ make clean
17:54:03 Entire build directory removed.
user@user-All-Series:~/android/cm-15.1$ . build/envsetup.sh
including device/asus/X550/vendorsetup.sh
including device/generic/car/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/uml/vendorsetup.sh
including vendor/lineage/vendorsetup.sh
including sdk/bash_completion/adb.bash
user@user-All-Series:~/android/cm-15.1$ lunch 9
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
LINEAGE_VERSION=15.1-20181115-UNOFFICIAL-X550
TARGET_PRODUCT=lineage_X550
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-39-generic-x86_64-with-LinuxMint-19-tara
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM7.181105.004
OUT_DIR=/home/user/android/cm-15.1/out
AUX_OS_VARIANT_LIST=
============================================
user@user-All-Series:~/android/cm-15.1$ mka
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=lineage_X550
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-39-generic-x86_64-with-LinuxMint-19-tara
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM7.181105.004
OUT_DIR=/home/user/android/cm-15.1/out
============================================
[44/44] bootstrap /home/user/android/c...ut/soong/.minibootstrap/build.ninja.in
[4/4] /home/user/android/cm-15.1/out/s...-15.1/out/soong/.bootstrap/build.ninja
[874/875] glob vendor/qcom/opensource/...erfaces/wifi/supplicant/1.0/Android.bp
[56/56] /home/user/android/cm-15.1/out.../android/cm-15.1/out/soong/build.ninja
/home/user/android/cm-15.1/out/build-lineage_X550.ninja is missing, regenerating...
[331/1080] including ./frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
[1080/1080] including ./vendor/xiaomi/whyred/Android.mk ...
[ 99% 1456/1457] glob vendor/lineage/build/soong/Android.bp
[ 1% 1322/97665] target C: libntfs3g... external/ntfs-3g/src/ntfs-3g_common.c
In file included from external/ntfs-3g/src/ntfs-3g_common.c:50:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/src/ntfs-3g_common.c:50:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/src/ntfs-3g_common.c:50:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 1% 1332/97665] target C: libntfs3g...atic <= external/ntfs-3g/src/ntfs-3g.c
In file included from external/ntfs-3g/src/ntfs-3g.c:92:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/src/ntfs-3g.c:92:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/src/ntfs-3g.c:92:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 2% 2552/97665] target C++: bu_recovery <= bootable/recovery/backup.cpp
bootable/recovery/backup.cpp:48:58: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
p += sprintf(p, "fs.%s.size=%llu\n", part->name, part->size);
~~~~ ^~~~~~~~~~
%lu
bootable/recovery/backup.cpp:49:58: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
p += sprintf(p, "fs.%s.used=%llu\n", part->name, part->used);
~~~~ ^~~~~~~~~~
%lu
bootable/recovery/backup.cpp:64:42: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
p += sprintf(p, "hash.datalen=%u\n", hash_datalen);
~~ ^~~~~~~~~~~~
%zu
3 warnings generated.
[ 2% 2618/97665] target C: libtar <= external/libtar/lib/handle.c
external/libtar/lib/handle.c:35:19: warning: unused parameter 'mode' [-Wunused-parameter]
int oflags, int mode, int options)
^
1 warning generated.
[ 2% 2795/97665] target C++: libinit...s/msm8916-common/init/init_msm8916.cpp
device/asus/msm8916-common/init/init_msm8916.cpp:215:100: warning: data argument not used by format string [-Wformat-extra-args]
sprintf(b_description, "Z00L-user 6.0.1 MMB29P WW_user_21.40.1220.2196_20180308 release-keys", family, buildnumber, builddate);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
device/asus/msm8916-common/init/init_msm8916.cpp:216:121: warning: data argument not used by format string [-Wformat-extra-args]
sprintf(b_fingerprint, "asus/WW_Z00L/ASUS_Z00L_63:6.0.1/MMB29P/WW_user_21.40.1220.2196_20180308:user/release-keys", device, device, buildnumber, builddate);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
2 warnings generated.
[ 2% 2804/97665] target thumb C++: li...s/msm8916-common/init/init_msm8916.cpp
device/asus/msm8916-common/init/init_msm8916.cpp:215:100: warning: data argument not used by format string [-Wformat-extra-args]
sprintf(b_description, "Z00L-user 6.0.1 MMB29P WW_user_21.40.1220.2196_20180308 release-keys", family, buildnumber, builddate);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
device/asus/msm8916-common/init/init_msm8916.cpp:216:121: warning: data argument not used by format string [-Wformat-extra-args]
sprintf(b_fingerprint, "asus/WW_Z00L/ASUS_Z00L_63:6.0.1/MMB29P/WW_user_21.40.1220.2196_20180308:user/release-keys", device, device, buildnumber, builddate);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
2 warnings generated.
[ 2% 2859/97665] target C: libminipigz_static <= external/pigz/yarn.c
external/pigz/yarn.c:373:23: warning: unused parameter 'off_course' [-Wunused-parameter]
void destruct(thread *off_course)
^
1 warning generated.
[ 2% 2867/97665] target C: libzopfli...external/pigz/zopfli/src/zopfli/lz77.c
external/pigz/zopfli/src/zopfli/lz77.c:95:60: warning: unused parameter 'datasize' [-Wunused-parameter]
void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
^
1 warning generated.
[ 2% 2875/97665] target C: libzopfli...ernal/pigz/zopfli/src/zopfli/deflate.c
external/pigz/zopfli/src/zopfli/deflate.c:300:32: warning: unused parameter 'expected_data_size' [-Wunused-parameter]
size_t expected_data_size,
^
1 warning generated.
[ 3% 2948/97665] target C: libexfat_...atic <= external/exfat/libexfat/node.c
external/exfat/libexfat/node.c:647:33: warning: taking address of packed member 'mdate' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->mtime, &meta1->mdate, &meta1->mtime,
^~~~~~~~~~~~
external/exfat/libexfat/node.c:647:48: warning: taking address of packed member 'mtime' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->mtime, &meta1->mdate, &meta1->mtime,
^~~~~~~~~~~~
external/exfat/libexfat/node.c:649:33: warning: taking address of packed member 'adate' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->atime, &meta1->adate, &meta1->atime, NULL);
^~~~~~~~~~~~
external/exfat/libexfat/node.c:649:48: warning: taking address of packed member 'atime' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->atime, &meta1->adate, &meta1->atime, NULL);
^~~~~~~~~~~~
external/exfat/libexfat/node.c:895:32: warning: taking address of packed member 'crdate' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(time(NULL), &meta1->crdate, &meta1->crtime,
^~~~~~~~~~~~~
external/exfat/libexfat/node.c:895:48: warning: taking address of packed member 'crtime' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(time(NULL), &meta1->crdate, &meta1->crtime,
^~~~~~~~~~~~~
6 warnings generated.
[ 3% 2959/97665] target C: libntfs-3...<= external/ntfs-3g/libntfs-3g/ioctl.c
In file included from external/ntfs-3g/libntfs-3g/ioctl.c:70:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/ioctl.c:70:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/ioctl.c:70:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 3% 2967/97665] target C: libntfs-3...xternal/ntfs-3g/libntfs-3g/object_id.c
In file included from external/ntfs-3g/libntfs-3g/object_id.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/object_id.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/object_id.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 3% 2969/97665] target C: libntfs-3... external/ntfs-3g/libntfs-3g/reparse.c
In file included from external/ntfs-3g/libntfs-3g/reparse.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/reparse.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/reparse.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 3% 2972/97665] target C: libntfs-3...= external/ntfs-3g/libntfs-3g/unistr.c
external/ntfs-3g/libntfs-3g/unistr.c:432:31: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
ntfs_name_upcase((ntfschar*)&file_name_attr->file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 3% 2974/97665] target C: libntfs-3...external/ntfs-3g/libntfs-3g/security.c
In file included from external/ntfs-3g/libntfs-3g/security.c:52:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/security.c:52:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/security.c:52:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 3% 2977/97665] target C: libntfs-3...= external/ntfs-3g/libntfs-3g/volume.c
In file included from external/ntfs-3g/libntfs-3g/volume.c:62:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/volume.c:62:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/volume.c:62:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 3% 2982/97665] target C: libntfs-3... external/ntfs-3g/libntfs-3g/collate.c
external/ntfs-3g/libntfs-3g/collate.c:230:16: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&file_name_attr1->file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~
external/ntfs-3g/libntfs-3g/collate.c:232:16: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&file_name_attr2->file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 3% 2999/97665] target C: libntfs-3...c <= external/ntfs-3g/libntfs-3g/dir.c
external/ntfs-3g/libntfs-3g/dir.c:330:17: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&ie->key.file_name.file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
external/ntfs-3g/libntfs-3g/dir.c:470:17: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&ie->key.file_name.file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 3% 3002/97665] target C++: lib7z <...zip/CPP/7zip/Archive/7z/7zRegister.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
1 warning generated.
[ 3% 3003/97665] target C++: lib7z <...p/CPP/7zip/Archive/7z/7zProperties.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zProperties.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
1 warning generated.
[ 3% 3006/97665] target C++: lib7z <...al/p7zip/CPP/7zip/Archive/7z/7zOut.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zOut.cpp:11:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zOut.h:6:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zOut.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
2 warnings generated.
[ 3% 3007/97665] target C++: lib7z <...7zip/CPP/7zip/Archive/7z/7zHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.cpp:16:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
1 warning generated.
[ 3% 3008/97665] target C++: lib7z <...7zip/CPP/7zip/Archive/7z/7zExtract.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zExtract.cpp:12:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zExtract.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
2 warnings generated.
[ 3% 3009/97665] target C++: lib7z <...p/CPP/7zip/Archive/7z/7zHandlerOut.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:7:
external/p7zip/CPP/7zip/Archive/7z/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:12:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:151:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:284:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
bool need_MTime = (Write_MTime.Def && Write_MTime.Val || !Write_MTime.Def);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~
external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:284:38: note: place parentheses around the '&&' expression to silence this warning
bool need_MTime = (Write_MTime.Def && Write_MTime.Val || !Write_MTime.Def);
^
( )
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
5 warnings generated.
[ 3% 3010/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/7z/7zDecode.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zDecode.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
1 warning generated.
[ 3% 3012/97665] target C++: lib7z <...nal/p7zip/CPP/7zip/Archive/7z/7zIn.cpp
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1513:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (buf[i] == NID::kEncodedHeader && buf[i + 1] == NID::kPackInfo ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1513:41: note: place parentheses around the '&&' expression to silence this warning
if (buf[i] == NID::kEncodedHeader && buf[i + 1] == NID::kPackInfo ||
^
( )
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1514:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
buf[i] == NID::kHeader && buf[i + 1] == NID::kMainStreamsInfo)
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1514:34: note: place parentheses around the '&&' expression to silence this warning
buf[i] == NID::kHeader && buf[i + 1] == NID::kMainStreamsInfo)
^
( )
In file included from external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
3 warnings generated.
[ 3% 3015/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/7z/7zEncode.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.cpp:12:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.h:6:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
2 warnings generated.
[ 3% 3016/97665] target C++: lib7z <...l/p7zip/CPP/7zip/Archive/ArHandler.cpp
external/p7zip/CPP/7zip/Archive/ArHandler.cpp:623:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
1 warning generated.
[ 3% 3017/97665] target C++: lib7z <.../p7zip/CPP/7zip/Archive/Bz2Handler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Bz2Handler.cpp:12:
external/p7zip/CPP/7zip/Archive/../Compress/BZip2Encoder.h:140:18: warning: field 'm_BlockSorterIndex' will be initialized after field 'm_Block' [-Wreorder]
CThreadInfo(): m_BlockSorterIndex(0), m_Block(0) {}
^
1 warning generated.
[ 3% 3019/97665] target C++: lib7z <.../p7zip/CPP/7zip/Archive/ArjHandler.cpp
external/p7zip/CPP/7zip/Archive/ArjHandler.cpp:679:15: warning: enumeration value 'k_ErrorType_OK' not handled in switch [-Wswitch]
switch (_arc.Error)
^
1 warning generated.
[ 3% 3024/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp:7:
external/p7zip/CPP/7zip/Archive/7z/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp:18:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.h:6:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
3 warnings generated.
[ 3% 3032/97665] target C++: lib7z <...ip/CPP/7zip/Archive/Cab/CabHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Cab/CabHandler.cpp:22:
external/p7zip/CPP/7zip/Archive/Cab/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
1 warning generated.
[ 3% 3034/97665] target C++: lib7z <...ip/CPP/7zip/Archive/Chm/ChmHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Chm/ChmHandler.cpp:18:
external/p7zip/CPP/7zip/Archive/Chm/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
external/p7zip/CPP/7zip/Archive/Chm/ChmHandler.cpp:150:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else if (item.Section < m_Database.Sections.Size())
^
2 warnings generated.
[ 3% 3036/97665] target C++: libsgdisk_static <= external/gptfdisk/gptcl.cc
external/gptfdisk/gptcl.cc:36:29: warning: unused parameter 'filename' [-Wunused-parameter]
GPTDataCL::GPTDataCL(string filename) {
^
1 warning generated.
[ 3% 3037/97665] Building Kernel Headers
make: вход в каталог «/home/user/android/cm-15.1/kernel/asus/msm8916»
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
HOSTCC scripts/basic/fixdep
WRAP arch/arm64/include/generated/asm/bugs.h
WRAP arch/arm64/include/generated/asm/checksum.h
WRAP arch/arm64/include/generated/asm/clkdev.h
WRAP arch/arm64/include/generated/asm/cputime.h
WRAP arch/arm64/include/generated/asm/current.h
WRAP arch/arm64/include/generated/asm/delay.h
WRAP arch/arm64/include/generated/asm/div64.h
WRAP arch/arm64/include/generated/asm/dma.h
WRAP arch/arm64/include/generated/asm/emergency-restart.h
WRAP arch/arm64/include/generated/asm/early_ioremap.h
WRAP arch/arm64/include/generated/asm/errno.h
WRAP arch/arm64/include/generated/asm/ftrace.h
WRAP arch/arm64/include/generated/asm/hw_irq.h
WRAP arch/arm64/include/generated/asm/ioctl.h
WRAP arch/arm64/include/generated/asm/ioctls.h
WRAP arch/arm64/include/generated/asm/ipcbuf.h
WRAP arch/arm64/include/generated/asm/irq_regs.h
WRAP arch/arm64/include/generated/asm/kdebug.h
WRAP arch/arm64/include/generated/asm/kmap_types.h
WRAP arch/arm64/include/generated/asm/kvm_para.h
WRAP arch/arm64/include/generated/asm/local.h
WRAP arch/arm64/include/generated/asm/local64.h
WRAP arch/arm64/include/generated/asm/mcs_spinlock.h
WRAP arch/arm64/include/generated/asm/mman.h
WRAP arch/arm64/include/generated/asm/msgbuf.h
WRAP arch/arm64/include/generated/asm/mutex.h
WRAP arch/arm64/include/generated/asm/pci.h
WRAP arch/arm64/include/generated/asm/poll.h
WRAP arch/arm64/include/generated/asm/resource.h
WRAP arch/arm64/include/generated/asm/rwsem.h
WRAP arch/arm64/include/generated/asm/scatterlist.h
WRAP arch/arm64/include/generated/asm/sections.h
WRAP arch/arm64/include/generated/asm/segment.h
WRAP arch/arm64/include/generated/asm/sembuf.h
WRAP arch/arm64/include/generated/asm/serial.h
WRAP arch/arm64/include/generated/asm/shmbuf.h
WRAP arch/arm64/include/generated/asm/simd.h
WRAP arch/arm64/include/generated/asm/sizes.h
WRAP arch/arm64/include/generated/asm/socket.h
WRAP arch/arm64/include/generated/asm/sockios.h
WRAP arch/arm64/include/generated/asm/swab.h
WRAP arch/arm64/include/generated/asm/switch_to.h
WRAP arch/arm64/include/generated/asm/termbits.h
WRAP arch/arm64/include/generated/asm/termios.h
WRAP arch/arm64/include/generated/asm/topology.h
WRAP arch/arm64/include/generated/asm/trace_clock.h
WRAP arch/arm64/include/generated/asm/types.h
WRAP arch/arm64/include/generated/asm/unaligned.h
WRAP arch/arm64/include/generated/asm/user.h
WRAP arch/arm64/include/generated/asm/vga.h
WRAP arch/arm64/include/generated/asm/xor.h
WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h
HOSTCC scripts/unifdef
INSTALL include/asm-generic (35 files)
INSTALL include/drm (18 files)
INSTALL include/media (20 files)
INSTALL include/linux/../../../usr/include/linux/staging/android/uapi (2 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/mtd (5 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/linux/hsi (1 file)
INSTALL include/sound (18 files)
INSTALL include/scsi/ufs (2 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd/wcd9xxx (3 files)
INSTALL include/scsi (5 files)
INSTALL include/video (5 files)
INSTALL include/linux/mfd (1 file)
INSTALL include/xen (2 files)
INSTALL include/linux/mmc (3 files)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter (78 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/uapi (0 file)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter_ipv4 (11 files)
INSTALL include/linux/netfilter_ipv6 (12 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/usb (13 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (448 files)
INSTALL include/asm (35 files)
make: выход из каталога «/home/user/android/cm-15.1/kernel/asus/msm8916»
[ 3% 3049/97665] target C++: libsgdi...c <= external/gptfdisk/android_popt.cc
external/gptfdisk/android_popt.cc:24:40: warning: unused parameter 'name' [-Wunused-parameter]
poptContext poptGetContext(const char *name, int argc, const char **argv,
^
external/gptfdisk/android_popt.cc:25:56: warning: unused parameter 'flags' [-Wunused-parameter]
const struct poptOption *options, unsigned int flags) {
^
external/gptfdisk/android_popt.cc:76:35: warning: unused parameter 'con' [-Wunused-parameter]
void poptResetContext(poptContext con) {
^
external/gptfdisk/android_popt.cc:84:52: warning: unused parameter 'flags' [-Wunused-parameter]
void poptPrintUsage(poptContext con, FILE *fp, int flags) {
^
4 warnings generated.
[ 3% 3291/97665] Target buildinfo: /h...em_build_prop_intermediates/build.prop
Target buildinfo from: device/asus/msm8916-common/system.prop
Target buildinfo from: device/asus/X550/system.prop
[ 3% 3389/97665] target C: libantrad...ss/ant_native/src/vfs/ant_rx_chardev.c
external/ant-wireless/ant_native/src/vfs/ant_rx_chardev.c:98:31: warning: unused parameter 'unused' [-Wunused-parameter]
void *fnKeepAliveThread(void *unused)
^
1 warning generated.
[ 3% 3401/97665] target thumb C: liba...ss/ant_native/src/vfs/ant_rx_chardev.c
external/ant-wireless/ant_native/src/vfs/ant_rx_chardev.c:98:31: warning: unused parameter 'unused' [-Wunused-parameter]
void *fnKeepAliveThread(void *unused)
^
1 warning generated.
[ 3% 3665/97665] Check module type: /...APPS/DeskClock_intermediates/link_type
packages/apps/DeskClock/Android.mk: warning: DeskClock (java:sdk) should not link to org.lineageos.platform.internal (java:platform)
[ 3% 3720/97665] Check module type: /...APPS/LockClock_intermediates/link_type
packages/apps/LockClock/Android.mk: warning: LockClock (java:sdk) should not link to org.lineageos.platform.internal (java:platform)
[ 3% 3769/97665] Ensuring Jack server is installed and started
Writing client settings in /home/user/.jack-settings
Installing jack server in "/home/user/.jack-server"
Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /home/user/.jack-server/server.jks -destkeystore /home/user/.jack-server/server.jks -deststoretype pkcs12".
Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /home/user/.jack-server/client.jks -destkeystore /home/user/.jack-server/client.jks -deststoretype pkcs12".
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/user/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
[ 4% 4504/97665] target thumb C: libs...32 <= external/svox/pico/lib/picocep.c
external/svox/pico/lib/picocep.c:374:68: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t cepTerminate(register picodata_ProcessingUnit this)
^
external/svox/pico/lib/picocep.c:392:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picocep.c:1495:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
3 warnings generated.
[ 4% 4505/97665] target thumb C: libs...32 <= external/svox/pico/lib/picodbg.c
external/svox/pico/lib/picodbg.c:427:33: warning: all paths through this function will call itself [-Winfinite-recursion]
static void picodbg_dummy(void) {
^
1 warning generated.
[ 4% 4506/97665] target thumb C: libs...2 <= external/svox/pico/lib/picoctrl.c
external/svox/pico/lib/picoctrl.c:271:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* fix warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picoctrl.c:297:21: warning: unused parameter 'levelAwareCbOut' [-Wunused-parameter]
picoos_bool levelAwareCbOut,
^
2 warnings generated.
[ 4% 4507/97665] target thumb C: libs...2 <= external/svox/pico/lib/picodata.c
external/svox/pico/lib/picodata.c:577:75: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t puSimpleInitialize (register picodata_ProcessingUnit this, picoos_int32 resetMode) {
^
external/svox/pico/lib/picodata.c:577:94: warning: unused parameter 'resetMode' [-Wunused-parameter]
static pico_status_t puSimpleInitialize (register picodata_ProcessingUnit this, picoos_int32 resetMode) {
^
external/svox/pico/lib/picodata.c:581:74: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t puSimpleTerminate (register picodata_ProcessingUnit this) {
^
external/svox/pico/lib/picodata.c:590:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~ ^ ~~~~
4 warnings generated.
[ 4% 4508/97665] target thumb C: libs...<= external/svox/pico/lib/picoextapi.c
external/svox/pico/lib/picoextapi.c:116:10: warning: explicitly assigning value of variable of type 'const pico_Char *' (aka 'const unsigned char *') to itself [-Wself-assign]
name = name; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~ ^ ~~~~
external/svox/pico/lib/picoextapi.c:130:10: warning: explicitly assigning value of variable of type 'const pico_Char *' (aka 'const unsigned char *') to itself [-Wself-assign]
name = name; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~ ^ ~~~~
2 warnings generated.
[ 4% 4509/97665] target thumb C: libs...2 <= external/svox/pico/lib/picoacph.c
external/svox/pico/lib/picoacph.c:279:69: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t acphTerminate(register picodata_ProcessingUnit this)
^
external/svox/pico/lib/picoacph.c:286:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picoacph.c:328:69: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphGetNrSylls(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picoacph.c:361:39: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoacph.c:361:39: note: remove extraneous parentheses around the comparison to silence this warning
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
~ ^ ~
external/svox/pico/lib/picoacph.c:361:39: note: use '=' to turn this equality comparison into an assignment
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
^~
=
external/svox/pico/lib/picoacph.c:352:79: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphPhrItemSeqGetPosLeft(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picoacph.c:626:39: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoacph.c:626:39: note: remove extraneous parentheses around the comparison to silence this warning
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
~ ^ ~
external/svox/pico/lib/picoacph.c:626:39: note: use '=' to turn this equality comparison into an assignment
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
^~
=
external/svox/pico/lib/picoacph.c:617:79: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphAccItemSeqGetPosLeft(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picoacph.c:637:73: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphAccNrSyllParts(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picoacph.c:767:78: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphIsWordWithoutStress(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picoacph.c:1062:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
10 warnings generated.
[ 4% 4513/97665] target thumb C: libs...2 <= external/svox/pico/lib/picokdbg.c
external/svox/pico/lib/picokdbg.c:161:34: warning: all paths through this function will call itself [-Winfinite-recursion]
static void picokdbg_dummy(void) {
^
1 warning generated.
[ 4% 4515/97665] target thumb C: libs...32 <= external/svox/pico/lib/picokdt.c
external/svox/pico/lib/picokdt.c:398:65: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t kdtDtCheck(register picoknow_KnowledgeBase this,
^
1 warning generated.
[ 4% 4518/97665] target thumb C++: li...ox/pico/tts/com_svox_picottsengine.cpp
external/svox/pico/tts/com_svox_picottsengine.cpp:756:61: warning: unused parameter 'length' [-Wunused-parameter]
extern char * createPhonemeString( const char * xsampa, int length )
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1072:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
if (strlen(config) >= max_filename_length) {
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
external/svox/pico/tts/com_svox_picottsengine.cpp:1119:48: warning: unused parameter 'lang' [-Wunused-parameter]
tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant)
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1119:66: warning: unused parameter 'country' [-Wunused-parameter]
tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant)
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1119:87: warning: unused parameter 'variant' [-Wunused-parameter]
tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant)
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1133:90: warning: unused parameter 'variant' [-Wunused-parameter]
tts_result TtsEngine::setLanguage( const char * lang, const char * country, const char * variant )
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1212:25: warning: unused parameter 'variant' [-Wunused-parameter]
const char *variant) {
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1316:92: warning: unused parameter 'size' [-Wunused-parameter]
tts_result TtsEngine::setProperty( const char * property, const char * value, const size_t size )
^
8 warnings generated.
[ 4% 4521/97665] target thumb C: libs...32 <= external/svox/pico/lib/picokpr.c
external/svox/pico/lib/picokpr.c:286:12: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
len__9 = len__9; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~~~ ^ ~~~~~~
external/svox/pico/lib/picokpr.c:296:13: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
len__10 = len__10; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~~~~ ^ ~~~~~~~
external/svox/pico/lib/picokpr.c:306:13: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
len__11 = len__11; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~~~~ ^ ~~~~~~~
external/svox/pico/lib/picokpr.c:317:13: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
len__12 = len__12; /* avoid warning "var not used in this function"*/
~~~~~~~ ^ ~~~~~~~
4 warnings generated.
[ 4% 4522/97665] target thumb C: libs...32 <= external/svox/pico/lib/picopal.c
external/svox/pico/lib/picopal.c:416:10: warning: explicitly assigning value of variable of type 'picopal_objsize_t' (aka 'unsigned int') to itself [-Wself-assign]
size = size; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
external/svox/pico/lib/picopal.c:452:10: warning: explicitly assigning value of variable of type 'void *' to itself [-Wself-assign]
addr = addr; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
external/svox/pico/lib/picopal.c:453:9: warning: explicitly assigning value of variable of type 'picopal_objsize_t' (aka 'unsigned int') to itself [-Wself-assign]
len = len; /* avoid warning "var not used in this function"*/
~~~ ^ ~~~
external/svox/pico/lib/picopal.c:454:10: warning: explicitly assigning value of variable of type 'picopal_int16' (aka 'short') to itself [-Wself-assign]
prot = prot; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
4 warnings generated.
[ 4% 4525/97665] target thumb C: libs..._32 <= external/svox/pico/lib/picoos.c
external/svox/pico/lib/picoos.c:533:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((c->size == (picoos_ptrdiff_t) cellSize)) {
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoos.c:533:18: note: remove extraneous parentheses around the comparison to silence this warning
if ((c->size == (picoos_ptrdiff_t) cellSize)) {
~ ^ ~
external/svox/pico/lib/picoos.c:533:18: note: use '=' to turn this equality comparison into an assignment
if ((c->size == (picoos_ptrdiff_t) cellSize)) {
^~
=
external/svox/pico/lib/picoos.c:1108:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((pos == f->lPos)) {
~~~~^~~~~~~~~~
external/svox/pico/lib/picoos.c:1108:18: note: remove extraneous parentheses around the comparison to silence this warning
if ((pos == f->lPos)) {
~ ^ ~
external/svox/pico/lib/picoos.c:1108:18: note: use '=' to turn this equality comparison into an assignment
if ((pos == f->lPos)) {
^~
=
external/svox/pico/lib/picoos.c:1624:34: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((sdFile->enc == PICOOS_ENC_LIN)) {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoos.c:1624:34: note: remove extraneous parentheses around the comparison to silence this warning
if ((sdFile->enc == PICOOS_ENC_LIN)) {
~ ^ ~
external/svox/pico/lib/picoos.c:1624:34: note: use '=' to turn this equality comparison into an assignment
if ((sdFile->enc == PICOOS_ENC_LIN)) {
^~
=
external/svox/pico/lib/picoos.c:2283:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((string[(*ind)] == sepCh)) {
~~~~~~~~~~~~~~~^~~~~~~~
external/svox/pico/lib/picoos.c:2283:33: note: remove extraneous parentheses around the comparison to silence this warning
if ((string[(*ind)] == sepCh)) {
~ ^ ~
external/svox/pico/lib/picoos.c:2283:33: note: use '=' to turn this equality comparison into an assignment
if ((string[(*ind)] == sepCh)) {
^~
=
4 warnings generated.
[ 4% 4526/97665] target thumb C: libs...2 <= external/svox/pico/lib/picorsrc.c
external/svox/pico/lib/picorsrc.c:464:34: warning: unused parameter 'this' [-Wunused-parameter]
picorsrc_ResourceManager this,
^
external/svox/pico/lib/picorsrc.c:484:13: warning: explicitly assigning value of variable of type 'picoos_uint32' (aka 'unsigned int') to itself [-Wself-assign]
datalen = datalen;
~~~~~~~ ^ ~~~~~~~
2 warnings generated.
[ 4% 4527/97665] target thumb C: libs..._32 <= external/svox/pico/lib/picosa.c
external/svox/pico/lib/picosa.c:427:67: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t saTerminate(register picodata_ProcessingUnit this) {
^
external/svox/pico/lib/picosa.c:489:79: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 saPosDItemSeqGetPosRight(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picosa.c:791:67: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 saGetNrVowel(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picosa.c:1078:73: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t saExtractPhonemes(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picosa.c:1204:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
5 warnings generated.
[ 4% 4528/97665] target thumb C: libs...32 <= external/svox/pico/lib/picopam.c
external/svox/pico/lib/picopam.c:746:12: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picopam.c:2336:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
external/svox/pico/lib/picopam.c:2601:33: warning: explicitly assigning value of variable of type 'pico_status_t' (aka 'int') to itself [-Wself-assign]
sResult = sResult;
~~~~~~~ ^ ~~~~~~~
external/svox/pico/lib/picopam.c:2893:15: warning: explicitly assigning value of variable of type 'picoos_uint8' (aka 'unsigned char') to itself [-Wself-assign]
iteminfo1 = iteminfo1; /* avoid warning "var not used in this function"*/
~~~~~~~~~ ^ ~~~~~~~~~
external/svox/pico/lib/picopam.c:3536:37: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((event_type == PICOPAM_EVENT_P_BOUND)) {
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picopam.c:3536:37: note: remove extraneous parentheses around the comparison to silence this warning
if ((event_type == PICOPAM_EVENT_P_BOUND)) {
~ ^ ~
external/svox/pico/lib/picopam.c:3536:37: note: use '=' to turn this equality comparison into an assignment
if ((event_type == PICOPAM_EVENT_P_BOUND)) {
^~
=
5 warnings generated.
[ 4% 4529/97665] target thumb C: libs...32 <= external/svox/pico/lib/picosig.c
external/svox/pico/lib/picosig.c:391:12: warning: explicitly assigning value of variable of type 'picoos_uint16' (aka 'unsigned short') to itself [-Wself-assign]
numinb = numinb; /* avoid warning "var not used in this function"*/
~~~~~~ ^ ~~~~~~
external/svox/pico/lib/picosig.c:762:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function" */
~~~~ ^ ~~~~
2 warnings generated.
[ 4% 4530/97665] target thumb C: libs...2 <= external/svox/pico/lib/picospho.c
external/svox/pico/lib/picospho.c:289:89: warning: unused parameter 'resetMode' [-Wunused-parameter]
static pico_status_t sphoInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode)
^
external/svox/pico/lib/picospho.c:336:69: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t sphoTerminate(register picodata_ProcessingUnit this)
^
external/svox/pico/lib/picospho.c:496:10: warning: explicitly assigning value of variable of type 'spho_subobj_t *' (aka 'struct spho_subobj *') to itself [-Wself-assign]
spho = spho; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
external/svox/pico/lib/picospho.c:955:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
4 warnings generated.
[ 4% 4531/97665] target thumb C: libs..._32 <= external/svox/pico/lib/picopr.c
external/svox/pico/lib/picopr.c:436:11: warning: explicitly assigning value of variable of type 'pr_MemTypes' to itself [-Wself-assign]
mType = mType; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:448:11: warning: explicitly assigning value of variable of type 'pr_MemTypes' to itself [-Wself-assign]
mType = mType; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:621:69: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_int32 tok_tokenDigitStrToInt (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_uchar stokenStr[])
^
external/svox/pico/lib/picopr.c:1004:49: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_initItem(picodata_ProcessingUnit this, pr_ioItem * item)
^
external/svox/pico/lib/picopr.c:1047:57: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_copyItemContent (picodata_ProcessingUnit this, pr_ioItem * inItem, pr_ioItem * outItem)
^
external/svox/pico/lib/picopr.c:1087:52: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_appendItem (picodata_ProcessingUnit this, pr_ioItemPtr * firstItem, pr_ioItemPtr * lastItem, pr_ioItemPtr item)
^
external/svox/pico/lib/picopr.c:1758:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((ltype == PICODATA_ITEMINFO1_TOKTYPE_LETTERV)/* || (ltype == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)*/) {
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picopr.c:1758:52: note: remove extraneous parentheses around the comparison to silence this warning
if ((ltype == PICODATA_ITEMINFO1_TOKTYPE_LETTERV)/* || (ltype == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)*/) {
~ ^ ~
external/svox/pico/lib/picopr.c:1758:52: note: use '=' to turn this equality comparison into an assignment
if ((ltype == PICODATA_ITEMINFO1_TOKTYPE_LETTERV)/* || (ltype == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)*/) {
^~
=
external/svox/pico/lib/picopr.c:2088:69: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((pr->ritems[with__0->ritemid+1]->head.info1 == PICODATA_ITEMINFO1_TOKTYPE_SPACE)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picopr.c:2088:69: note: remove extraneous parentheses around the comparison to silence this warning
if ((pr->ritems[with__0->ritemid+1]->head.info1 == PICODATA_ITEMINFO1_TOKTYPE_SPACE)) {
~ ^ ~
external/svox/pico/lib/picopr.c:2088:69: note: use '=' to turn this equality comparison into an assignment
if ((pr->ritems[with__0->ritemid+1]->head.info1 == PICODATA_ITEMINFO1_TOKTYPE_SPACE)) {
^~
=
external/svox/pico/lib/picopr.c:2262:61: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getNextToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
^
external/svox/pico/lib/picopr.c:2287:60: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getAltToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
^
external/svox/pico/lib/picopr.c:2326:63: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_findProduction (picodata_ProcessingUnit this, pr_subobj_t * pr,
^
external/svox/pico/lib/picopr.c:2404:65: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getProdContToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
^
external/svox/pico/lib/picopr.c:2429:65: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getTopLevelToken (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_bool firstprod)
^
external/svox/pico/lib/picopr.c:2457:57: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
^
external/svox/pico/lib/picopr.c:2480:66: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getNextMultiToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
^
external/svox/pico/lib/picopr.c:2516:8: warning: explicitly assigning value of variable of type 'pr_subobj_t *' (aka 'struct pr_subobj *') to itself [-Wself-assign]
pr = pr; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picopr.c:2517:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetNP' (aka 'unsigned int') to itself [-Wself-assign]
npset = npset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2518:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetWP' (aka 'unsigned int') to itself [-Wself-assign]
wpset = wpset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2503:66: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchMultiToken (picodata_ProcessingUnit this, pr_subobj_t * pr,
^
external/svox/pico/lib/picopr.c:2523:67: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensSpace (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
^
external/svox/pico/lib/picopr.c:2570:67: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensDigit (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
^
external/svox/pico/lib/picopr.c:2619:65: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensSeq (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
^
external/svox/pico/lib/picopr.c:2662:66: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensChar (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
^
external/svox/pico/lib/picopr.c:2682:68: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensLetter (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
^
external/svox/pico/lib/picopr.c:2767:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetNP' (aka 'unsigned int') to itself [-Wself-assign]
npset = npset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2768:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetWP' (aka 'unsigned int') to itself [-Wself-assign]
wpset = wpset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2764:67: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensBegin (picodata_ProcessingUnit this, pr_subobj_t * pr,
^
external/svox/pico/lib/picopr.c:2781:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetNP' (aka 'unsigned int') to itself [-Wself-assign]
npset = npset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2782:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetWP' (aka 'unsigned int') to itself [-Wself-assign]
wpset = wpset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2778:65: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensEnd (picodata_ProcessingUnit this, pr_subobj_t * pr,
^
external/svox/pico/lib/picopr.c:2904:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((pr->ractpath.rlen == 0)) {
~~~~~~~~~~~~~~~~~~^~~~
external/svox/pico/lib/picopr.c:2904:32: note: remove extraneous parentheses around the comparison to silence this warning
if ((pr->ractpath.rlen == 0)) {
~ ^ ~
external/svox/pico/lib/picopr.c:2904:32: note: use '=' to turn this equality comparison into an assignment
if ((pr->ractpath.rlen == 0)) {
^~
=
external/svox/pico/lib/picopr.c:3038:53: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_prepareItem (picodata_ProcessingUnit this, pr_subobj_t * pr, pr_ioItemPtr item)
^
external/svox/pico/lib/picopr.c:3258:60: warning: unused parameter 'this' [-Wunused-parameter]
pico_status_t prTerminate(register picodata_ProcessingUnit this)
^
external/svox/pico/lib/picopr.c:3272:12: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picopr.c:3354:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
35 warnings generated.
[ 4% 4536/97665] target thumb C: libs..._32 <= external/svox/pico/lib/picowa.c
external/svox/pico/lib/picowa.c:146:67: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t waTerminate(register picodata_ProcessingUnit this) {
^
external/svox/pico/lib/picowa.c:155:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picowa.c:387:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
3 warnings generated.
[ 4% 4549/97665] target thumb C: libs...32 <= external/svox/pico/lib/picotok.c
external/svox/pico/lib/picotok.c:444:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((tok->utfpos == tok->utflen)) {
~~~~~~~~~~~~^~~~~~~~~~~~~~
external/svox/pico/lib/picotok.c:444:26: note: remove extraneous parentheses around the comparison to silence this warning
if ((tok->utfpos == tok->utflen)) {
~ ^ ~
external/svox/pico/lib/picotok.c:444:26: note: use '=' to turn this equality comparison into an assignment
if ((tok->utfpos == tok->utflen)) {
^~
=
external/svox/pico/lib/picotok.c:482:50: warning: unused parameter 'this' [-Wunused-parameter]
static void tok_putItem (picodata_ProcessingUnit this, tok_subobj_t * tok,
^
external/svox/pico/lib/picotok.c:577:51: warning: unused parameter 'this' [-Wunused-parameter]
static void tok_putItem2 (picodata_ProcessingUnit this, tok_subobj_t * tok,
^
external/svox/pico/lib/picotok.c:1342:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
} else if ((tok->utf[tok->utfpos-1] == EOL)) {
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
external/svox/pico/lib/picotok.c:1342:49: note: remove extraneous parentheses around the comparison to silence this warning
} else if ((tok->utf[tok->utfpos-1] == EOL)) {
~ ^ ~
external/svox/pico/lib/picotok.c:1342:49: note: use '=' to turn this equality comparison into an assignment
} else if ((tok->utf[tok->utfpos-1] == EOL)) {
^~
=
external/svox/pico/lib/picotok.c:1402:83: warning: unused parameter 'resetMode' [-Wunused-parameter]
static pico_status_t tokReset(register picodata_ProcessingUnit this, picoos_int32 resetMode)
^
external/svox/pico/lib/picotok.c:1481:68: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t tokTerminate(register picodata_ProcessingUnit this)
^
external/svox/pico/lib/picotok.c:1495:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picotok.c:1542:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
8 warnings generated.
[ 4% 4704/97665] Lex: applypatch <= bootable/recovery/edify/lexer.ll
FAILED: /home/user/android/cm-15.1/out/target/product/X550/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp
/bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/user/android/cm-15.1/out/target/product/X550/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp bootable/recovery/edify/lexer.ll"
flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: ??????????? ??????????? <<cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))>> ?? ?????????.
Aborted (core dumped)
[ 4% 4709/97665] target StaticLib: li...IES/libv8src_intermediates/libv8src.a)
ninja: build stopped: subcommand failed.
18:04:08 ninja failed with: exit status 1
#### failed to build some targets (09:48 (mm:ss)) ####
user@user-All-Series:~/android/cm-15.1$ make clean
18:07:13 Entire build directory removed.
#### build completed successfully ####
user@user-All-Series:~/android/cm-15.1$ . build/envsetup.sh
including device/asus/X550/vendorsetup.sh
including device/generic/car/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/uml/vendorsetup.sh
including vendor/lineage/vendorsetup.sh
including sdk/bash_completion/adb.bash
user@user-All-Series:~/android/cm-15.1$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. lineage_X550-eng
8. lineage_X550-user
9. lineage_X550-userdebug
10. aosp_car_emu_arm-userdebug
11. aosp_car_emu_arm64-userdebug
12. aosp_car_emu_x86-userdebug
13. aosp_car_emu_x86_64-userdebug
14. mini_emulator_arm64-userdebug
15. m_e_arm-userdebug
16. mini_emulator_x86_64-userdebug
17. mini_emulator_x86-userdebug
18. uml-userdebug
19. lineage_albus-userdebug
20. lineage_angler-userdebug
21. lineage_axon7-userdebug
22. lineage_bacon-userdebug
23. lineage_bardock-userdebug
24. lineage_bardockpro-userdebug
25. lineage_bullhead-userdebug
26. lineage_capricorn-userdebug
27. lineage_che10-userdebug
28. lineage_cheeseburger-userdebug
29. lineage_cherry-userdebug
30. lineage_chiron-userdebug
31. lineage_crackling-userdebug
32. lineage_d800-userdebug
33. lineage_d801-userdebug
34. lineage_d802-userdebug
35. lineage_d803-userdebug
36. lineage_discovery-userdebug
37. lineage_dragon-userdebug
38. lineage_dumpling-userdebug
39. lineage_ether-userdebug
40. lineage_FP2-userdebug
41. lineage_find7-userdebug
42. lineage_foster-userdebug
43. lineage_fugu-userdebug
44. lineage_gemini-userdebug
45. lineage_griffin-userdebug
46. lineage_gts210vewifi-userdebug
47. lineage_gts28vewifi-userdebug
48. lineage_ham-userdebug
49. lineage_jason-userdebug
50. lineage_kccat6-userdebug
51. lineage_kipper-userdebug
52. lineage_klte-userdebug
53. lineage_klteactivexx-userdebug
54. lineage_kltechn-userdebug
55. lineage_kltechnduo-userdebug
56. lineage_klteduos-userdebug
57. lineage_kltedv-userdebug
58. lineage_kltekdi-userdebug
59. lineage_kltekor-userdebug
60. lineage_kuntao-userdebug
61. lineage_land-userdebug
62. lineage_lentislte-userdebug
63. lineage_lettuce-userdebug
64. lineage_lithium-userdebug
65. lineage_mako-userdebug
66. lineage_marlin-userdebug
67. lineage_mido-userdebug
68. lineage_nash-userdebug
69. lineage_natrium-userdebug
70. lineage_oneplus2-userdebug
71. lineage_oneplus3-userdebug
72. lineage_payton-userdebug
73. lineage_pioneer-userdebug
74. lineage_r5-userdebug
75. lineage_r7sf-userdebug
76. lineage_r7plus-userdebug
77. lineage_s2-userdebug
78. lineage_sagit-userdebug
79. lineage_sailfish-userdebug
80. lineage_santoni-userdebug
81. lineage_scorpio-userdebug
82. lineage_shamu-userdebug
83. lineage_star2lte-userdebug
84. lineage_starlte-userdebug
85. lineage_tissot-userdebug
86. lineage_whyred-userdebug
87. lineage_wt88047-userdebug
88. lineage_X00TD-userdebug
89. lineage_x2-userdebug
90. lineage_YTX703F-userdebug
91. lineage_YTX703L-userdebug
92. lineage_zl1-userdebug
Which would you like? [aosp_arm-eng] 9
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
LINEAGE_VERSION=15.1-20181115-UNOFFICIAL-X550
TARGET_PRODUCT=lineage_X550
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-39-generic-x86_64-with-LinuxMint-19-tara
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM7.181105.004
OUT_DIR=/home/user/android/cm-15.1/out
AUX_OS_VARIANT_LIST=
============================================
user@user-All-Series:~/android/cm-15.1$ mka
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=lineage_X550
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-39-generic-x86_64-with-LinuxMint-19-tara
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM7.181105.004
OUT_DIR=/home/user/android/cm-15.1/out
============================================
[44/44] bootstrap /home/user/android/c...ut/soong/.minibootstrap/build.ninja.in
[4/4] /home/user/android/cm-15.1/out/s...-15.1/out/soong/.bootstrap/build.ninja
[874/875] glob vendor/qcom/opensource/interfaces/wifi/*/Android.bp
[56/56] /home/user/android/cm-15.1/out.../android/cm-15.1/out/soong/build.ninja
/home/user/android/cm-15.1/out/build-lineage_X550.ninja is missing, regenerating...
[331/1080] including ./frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
[1080/1080] including ./vendor/xiaomi/whyred/Android.mk ...
[ 99% 1456/1457] glob vendor/qcom/open...nterfaces/camera/device/1.0/Android.bp
[ 1% 1325/97665] target C: libntfs3g... external/ntfs-3g/src/ntfs-3g_common.c
In file included from external/ntfs-3g/src/ntfs-3g_common.c:50:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/src/ntfs-3g_common.c:50:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/src/ntfs-3g_common.c:50:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 1% 1338/97665] target C: libntfs3g...atic <= external/ntfs-3g/src/ntfs-3g.c
In file included from external/ntfs-3g/src/ntfs-3g.c:92:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/src/ntfs-3g.c:92:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/src/ntfs-3g.c:92:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 2% 2558/97665] target C++: bu_recovery <= bootable/recovery/backup.cpp
bootable/recovery/backup.cpp:48:58: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
p += sprintf(p, "fs.%s.size=%llu\n", part->name, part->size);
~~~~ ^~~~~~~~~~
%lu
bootable/recovery/backup.cpp:49:58: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
p += sprintf(p, "fs.%s.used=%llu\n", part->name, part->used);
~~~~ ^~~~~~~~~~
%lu
bootable/recovery/backup.cpp:64:42: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
p += sprintf(p, "hash.datalen=%u\n", hash_datalen);
~~ ^~~~~~~~~~~~
%zu
3 warnings generated.
[ 2% 2614/97665] target C: libtar <= external/libtar/lib/handle.c
external/libtar/lib/handle.c:35:19: warning: unused parameter 'mode' [-Wunused-parameter]
int oflags, int mode, int options)
^
1 warning generated.
[ 2% 2770/97665] target C++: libinit...s/msm8916-common/init/init_msm8916.cpp
device/asus/msm8916-common/init/init_msm8916.cpp:215:100: warning: data argument not used by format string [-Wformat-extra-args]
sprintf(b_description, "Z00L-user 6.0.1 MMB29P WW_user_21.40.1220.2196_20180308 release-keys", family, buildnumber, builddate);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
device/asus/msm8916-common/init/init_msm8916.cpp:216:121: warning: data argument not used by format string [-Wformat-extra-args]
sprintf(b_fingerprint, "asus/WW_Z00L/ASUS_Z00L_63:6.0.1/MMB29P/WW_user_21.40.1220.2196_20180308:user/release-keys", device, device, buildnumber, builddate);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
2 warnings generated.
[ 2% 2808/97665] target thumb C++: li...s/msm8916-common/init/init_msm8916.cpp
device/asus/msm8916-common/init/init_msm8916.cpp:215:100: warning: data argument not used by format string [-Wformat-extra-args]
sprintf(b_description, "Z00L-user 6.0.1 MMB29P WW_user_21.40.1220.2196_20180308 release-keys", family, buildnumber, builddate);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
device/asus/msm8916-common/init/init_msm8916.cpp:216:121: warning: data argument not used by format string [-Wformat-extra-args]
sprintf(b_fingerprint, "asus/WW_Z00L/ASUS_Z00L_63:6.0.1/MMB29P/WW_user_21.40.1220.2196_20180308:user/release-keys", device, device, buildnumber, builddate);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
2 warnings generated.
[ 2% 2859/97665] target C: libminipigz_static <= external/pigz/yarn.c
external/pigz/yarn.c:373:23: warning: unused parameter 'off_course' [-Wunused-parameter]
void destruct(thread *off_course)
^
1 warning generated.
[ 2% 2867/97665] target C: libzopfli...external/pigz/zopfli/src/zopfli/lz77.c
external/pigz/zopfli/src/zopfli/lz77.c:95:60: warning: unused parameter 'datasize' [-Wunused-parameter]
void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
^
1 warning generated.
[ 2% 2868/97665] target C: libzopfli...ernal/pigz/zopfli/src/zopfli/deflate.c
external/pigz/zopfli/src/zopfli/deflate.c:300:32: warning: unused parameter 'expected_data_size' [-Wunused-parameter]
size_t expected_data_size,
^
1 warning generated.
[ 3% 2946/97665] target C: libexfat_...atic <= external/exfat/libexfat/node.c
external/exfat/libexfat/node.c:647:33: warning: taking address of packed member 'mdate' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->mtime, &meta1->mdate, &meta1->mtime,
^~~~~~~~~~~~
external/exfat/libexfat/node.c:647:48: warning: taking address of packed member 'mtime' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->mtime, &meta1->mdate, &meta1->mtime,
^~~~~~~~~~~~
external/exfat/libexfat/node.c:649:33: warning: taking address of packed member 'adate' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->atime, &meta1->adate, &meta1->atime, NULL);
^~~~~~~~~~~~
external/exfat/libexfat/node.c:649:48: warning: taking address of packed member 'atime' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->atime, &meta1->adate, &meta1->atime, NULL);
^~~~~~~~~~~~
external/exfat/libexfat/node.c:895:32: warning: taking address of packed member 'crdate' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(time(NULL), &meta1->crdate, &meta1->crtime,
^~~~~~~~~~~~~
external/exfat/libexfat/node.c:895:48: warning: taking address of packed member 'crtime' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(time(NULL), &meta1->crdate, &meta1->crtime,
^~~~~~~~~~~~~
6 warnings generated.
[ 3% 2959/97665] target C: libntfs-3...<= external/ntfs-3g/libntfs-3g/ioctl.c
In file included from external/ntfs-3g/libntfs-3g/ioctl.c:70:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/ioctl.c:70:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/ioctl.c:70:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 3% 2967/97665] target C: libntfs-3...xternal/ntfs-3g/libntfs-3g/object_id.c
In file included from external/ntfs-3g/libntfs-3g/object_id.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/object_id.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/object_id.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 3% 2969/97665] target C: libntfs-3... external/ntfs-3g/libntfs-3g/reparse.c
In file included from external/ntfs-3g/libntfs-3g/reparse.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/reparse.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/reparse.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 3% 2972/97665] target C: libntfs-3...= external/ntfs-3g/libntfs-3g/unistr.c
external/ntfs-3g/libntfs-3g/unistr.c:432:31: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
ntfs_name_upcase((ntfschar*)&file_name_attr->file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 3% 2973/97665] target C: libntfs-3...external/ntfs-3g/libntfs-3g/security.c
In file included from external/ntfs-3g/libntfs-3g/security.c:52:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/security.c:52:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/security.c:52:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 3% 2978/97665] target C: libntfs-3...= external/ntfs-3g/libntfs-3g/volume.c
In file included from external/ntfs-3g/libntfs-3g/volume.c:62:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/volume.c:62:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/volume.c:62:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 3% 2982/97665] target C: libntfs-3... external/ntfs-3g/libntfs-3g/collate.c
external/ntfs-3g/libntfs-3g/collate.c:230:16: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&file_name_attr1->file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~
external/ntfs-3g/libntfs-3g/collate.c:232:16: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&file_name_attr2->file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 3% 2997/97665] target C: libntfs-3...c <= external/ntfs-3g/libntfs-3g/dir.c
external/ntfs-3g/libntfs-3g/dir.c:330:17: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&ie->key.file_name.file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
external/ntfs-3g/libntfs-3g/dir.c:470:17: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&ie->key.file_name.file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 3% 3000/97665] target C++: lib7z <...zip/CPP/7zip/Archive/7z/7zRegister.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
1 warning generated.
[ 3% 3002/97665] target C++: lib7z <...p/CPP/7zip/Archive/7z/7zProperties.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zProperties.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
1 warning generated.
[ 3% 3005/97665] target C++: lib7z <...al/p7zip/CPP/7zip/Archive/7z/7zOut.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zOut.cpp:11:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zOut.h:6:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zOut.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
2 warnings generated.
[ 3% 3006/97665] target C++: lib7z <...nal/p7zip/CPP/7zip/Archive/7z/7zIn.cpp
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1513:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (buf[i] == NID::kEncodedHeader && buf[i + 1] == NID::kPackInfo ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1513:41: note: place parentheses around the '&&' expression to silence this warning
if (buf[i] == NID::kEncodedHeader && buf[i + 1] == NID::kPackInfo ||
^
( )
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1514:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
buf[i] == NID::kHeader && buf[i + 1] == NID::kMainStreamsInfo)
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1514:34: note: place parentheses around the '&&' expression to silence this warning
buf[i] == NID::kHeader && buf[i + 1] == NID::kMainStreamsInfo)
^
( )
In file included from external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
3 warnings generated.
[ 3% 3007/97665] target C++: lib7z <...p/CPP/7zip/Archive/7z/7zHandlerOut.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:7:
external/p7zip/CPP/7zip/Archive/7z/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:12:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:151:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:284:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
bool need_MTime = (Write_MTime.Def && Write_MTime.Val || !Write_MTime.Def);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~
external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:284:38: note: place parentheses around the '&&' expression to silence this warning
bool need_MTime = (Write_MTime.Def && Write_MTime.Val || !Write_MTime.Def);
^
( )
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
5 warnings generated.
[ 3% 3008/97665] target C++: lib7z <...7zip/CPP/7zip/Archive/7z/7zHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.cpp:16:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
1 warning generated.
[ 3% 3009/97665] target C++: lib7z <...7zip/CPP/7zip/Archive/7z/7zExtract.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zExtract.cpp:12:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zExtract.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
2 warnings generated.
[ 3% 3011/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/7z/7zDecode.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zDecode.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
1 warning generated.
[ 3% 3014/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/7z/7zEncode.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.cpp:12:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.h:6:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
2 warnings generated.
[ 3% 3015/97665] target C++: lib7z <...l/p7zip/CPP/7zip/Archive/ArHandler.cpp
external/p7zip/CPP/7zip/Archive/ArHandler.cpp:623:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
1 warning generated.
[ 3% 3017/97665] target C++: lib7z <.../p7zip/CPP/7zip/Archive/Bz2Handler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Bz2Handler.cpp:12:
external/p7zip/CPP/7zip/Archive/../Compress/BZip2Encoder.h:140:18: warning: field 'm_BlockSorterIndex' will be initialized after field 'm_Block' [-Wreorder]
CThreadInfo(): m_BlockSorterIndex(0), m_Block(0) {}
^
1 warning generated.
[ 3% 3018/97665] target C++: lib7z <.../p7zip/CPP/7zip/Archive/ArjHandler.cpp
external/p7zip/CPP/7zip/Archive/ArjHandler.cpp:679:15: warning: enumeration value 'k_ErrorType_OK' not handled in switch [-Wswitch]
switch (_arc.Error)
^
1 warning generated.
[ 3% 3024/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp:7:
external/p7zip/CPP/7zip/Archive/7z/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp:18:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.h:6:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
3 warnings generated.
[ 3% 3034/97665] target C++: lib7z <...ip/CPP/7zip/Archive/Cab/CabHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Cab/CabHandler.cpp:22:
external/p7zip/CPP/7zip/Archive/Cab/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
1 warning generated.
[ 3% 3036/97665] target C++: lib7z <...ip/CPP/7zip/Archive/Chm/ChmHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Chm/ChmHandler.cpp:18:
external/p7zip/CPP/7zip/Archive/Chm/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
external/p7zip/CPP/7zip/Archive/Chm/ChmHandler.cpp:150:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else if (item.Section < m_Database.Sections.Size())
^
2 warnings generated.
[ 3% 3039/97665] target C++: libsgdisk_static <= external/gptfdisk/gptcl.cc
external/gptfdisk/gptcl.cc:36:29: warning: unused parameter 'filename' [-Wunused-parameter]
GPTDataCL::GPTDataCL(string filename) {
^
1 warning generated.
[ 3% 3048/97665] target C++: libsgdi...c <= external/gptfdisk/android_popt.cc
external/gptfdisk/android_popt.cc:24:40: warning: unused parameter 'name' [-Wunused-parameter]
poptContext poptGetContext(const char *name, int argc, const char **argv,
^
external/gptfdisk/android_popt.cc:25:56: warning: unused parameter 'flags' [-Wunused-parameter]
const struct poptOption *options, unsigned int flags) {
^
external/gptfdisk/android_popt.cc:76:35: warning: unused parameter 'con' [-Wunused-parameter]
void poptResetContext(poptContext con) {
^
external/gptfdisk/android_popt.cc:84:52: warning: unused parameter 'flags' [-Wunused-parameter]
void poptPrintUsage(poptContext con, FILE *fp, int flags) {
^
4 warnings generated.
[ 3% 3234/97665] Building Kernel Headers
make: вход в каталог «/home/user/android/cm-15.1/kernel/asus/msm8916»
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
HOSTCC scripts/basic/fixdep
WRAP arch/arm64/include/generated/asm/bugs.h
WRAP arch/arm64/include/generated/asm/checksum.h
WRAP arch/arm64/include/generated/asm/clkdev.h
WRAP arch/arm64/include/generated/asm/cputime.h
WRAP arch/arm64/include/generated/asm/current.h
WRAP arch/arm64/include/generated/asm/delay.h
WRAP arch/arm64/include/generated/asm/div64.h
WRAP arch/arm64/include/generated/asm/dma.h
WRAP arch/arm64/include/generated/asm/emergency-restart.h
WRAP arch/arm64/include/generated/asm/early_ioremap.h
WRAP arch/arm64/include/generated/asm/errno.h
WRAP arch/arm64/include/generated/asm/ftrace.h
WRAP arch/arm64/include/generated/asm/hw_irq.h
WRAP arch/arm64/include/generated/asm/ioctl.h
WRAP arch/arm64/include/generated/asm/ioctls.h
WRAP arch/arm64/include/generated/asm/ipcbuf.h
WRAP arch/arm64/include/generated/asm/irq_regs.h
WRAP arch/arm64/include/generated/asm/kdebug.h
WRAP arch/arm64/include/generated/asm/kmap_types.h
WRAP arch/arm64/include/generated/asm/kvm_para.h
WRAP arch/arm64/include/generated/asm/local.h
WRAP arch/arm64/include/generated/asm/local64.h
WRAP arch/arm64/include/generated/asm/mcs_spinlock.h
WRAP arch/arm64/include/generated/asm/mman.h
WRAP arch/arm64/include/generated/asm/msgbuf.h
WRAP arch/arm64/include/generated/asm/mutex.h
WRAP arch/arm64/include/generated/asm/pci.h
WRAP arch/arm64/include/generated/asm/poll.h
WRAP arch/arm64/include/generated/asm/resource.h
WRAP arch/arm64/include/generated/asm/rwsem.h
WRAP arch/arm64/include/generated/asm/scatterlist.h
WRAP arch/arm64/include/generated/asm/sections.h
WRAP arch/arm64/include/generated/asm/segment.h
WRAP arch/arm64/include/generated/asm/serial.h
WRAP arch/arm64/include/generated/asm/shmbuf.h
WRAP arch/arm64/include/generated/asm/sembuf.h
WRAP arch/arm64/include/generated/asm/simd.h
WRAP arch/arm64/include/generated/asm/sizes.h
WRAP arch/arm64/include/generated/asm/socket.h
WRAP arch/arm64/include/generated/asm/sockios.h
WRAP arch/arm64/include/generated/asm/swab.h
WRAP arch/arm64/include/generated/asm/switch_to.h
WRAP arch/arm64/include/generated/asm/termbits.h
WRAP arch/arm64/include/generated/asm/termios.h
WRAP arch/arm64/include/generated/asm/topology.h
WRAP arch/arm64/include/generated/asm/trace_clock.h
WRAP arch/arm64/include/generated/asm/types.h
WRAP arch/arm64/include/generated/asm/unaligned.h
WRAP arch/arm64/include/generated/asm/user.h
WRAP arch/arm64/include/generated/asm/vga.h
WRAP arch/arm64/include/generated/asm/xor.h
WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h
HOSTCC scripts/unifdef
INSTALL include/asm-generic (35 files)
INSTALL include/drm (18 files)
INSTALL include/linux/../../../usr/include/linux/staging/android/uapi (2 files)
INSTALL include/media (20 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/mtd (5 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/linux/hsi (1 file)
INSTALL include/sound (18 files)
INSTALL include/video (5 files)
INSTALL include/scsi/ufs (2 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/scsi (5 files)
INSTALL include/linux/mfd/wcd9xxx (3 files)
INSTALL include/xen (2 files)
INSTALL include/linux/mfd (1 file)
INSTALL include/uapi (0 file)
INSTALL include/linux/mmc (3 files)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter (78 files)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter_ipv4 (11 files)
INSTALL include/linux/netfilter_ipv6 (12 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/usb (13 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (448 files)
INSTALL include/asm (35 files)
make: выход из каталога «/home/user/android/cm-15.1/kernel/asus/msm8916»
[ 3% 3283/97665] Target buildinfo: /h...em_build_prop_intermediates/build.prop
Target buildinfo from: device/asus/msm8916-common/system.prop
Target buildinfo from: device/asus/X550/system.prop
[ 3% 3391/97665] target thumb C: liba...ss/ant_native/src/vfs/ant_rx_chardev.c
external/ant-wireless/ant_native/src/vfs/ant_rx_chardev.c:98:31: warning: unused parameter 'unused' [-Wunused-parameter]
void *fnKeepAliveThread(void *unused)
^
1 warning generated.
[ 3% 3406/97665] target C: libantrad...ss/ant_native/src/vfs/ant_rx_chardev.c
external/ant-wireless/ant_native/src/vfs/ant_rx_chardev.c:98:31: warning: unused parameter 'unused' [-Wunused-parameter]
void *fnKeepAliveThread(void *unused)
^
1 warning generated.
[ 3% 3431/97665] Ensuring Jack server is installed and started
Jack server already installed in "/home/user/.jack-server"
Server is already running
[ 3% 3674/97665] Check module type: /...APPS/DeskClock_intermediates/link_type
packages/apps/DeskClock/Android.mk: warning: DeskClock (java:sdk) should not link to org.lineageos.platform.internal (java:platform)
[ 3% 3754/97665] Check module type: /...APPS/LockClock_intermediates/link_type
packages/apps/LockClock/Android.mk: warning: LockClock (java:sdk) should not link to org.lineageos.platform.internal (java:platform)
[ 4% 4505/97665] target thumb C: libs...2 <= external/svox/pico/lib/picoacph.c
external/svox/pico/lib/picoacph.c:279:69: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t acphTerminate(register picodata_ProcessingUnit this)
^
external/svox/pico/lib/picoacph.c:286:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picoacph.c:328:69: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphGetNrSylls(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picoacph.c:361:39: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoacph.c:361:39: note: remove extraneous parentheses around the comparison to silence this warning
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
~ ^ ~
external/svox/pico/lib/picoacph.c:361:39: note: use '=' to turn this equality comparison into an assignment
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
^~
=
external/svox/pico/lib/picoacph.c:352:79: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphPhrItemSeqGetPosLeft(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picoacph.c:626:39: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoacph.c:626:39: note: remove extraneous parentheses around the comparison to silence this warning
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
~ ^ ~
external/svox/pico/lib/picoacph.c:626:39: note: use '=' to turn this equality comparison into an assignment
if ((acph->headx[i].head.type == PICODATA_ITEM_WORDPHON)) {
^~
=
external/svox/pico/lib/picoacph.c:617:79: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphAccItemSeqGetPosLeft(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picoacph.c:637:73: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphAccNrSyllParts(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picoacph.c:767:78: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 acphIsWordWithoutStress(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picoacph.c:1062:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
10 warnings generated.
[ 4% 4507/97665] target thumb C: libs...2 <= external/svox/pico/lib/picoctrl.c
external/svox/pico/lib/picoctrl.c:271:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* fix warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picoctrl.c:297:21: warning: unused parameter 'levelAwareCbOut' [-Wunused-parameter]
picoos_bool levelAwareCbOut,
^
2 warnings generated.
[ 4% 4508/97665] target thumb C: libs...32 <= external/svox/pico/lib/picocep.c
external/svox/pico/lib/picocep.c:374:68: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t cepTerminate(register picodata_ProcessingUnit this)
^
external/svox/pico/lib/picocep.c:392:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picocep.c:1495:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
3 warnings generated.
[ 4% 4509/97665] target thumb C: libs...32 <= external/svox/pico/lib/picodbg.c
external/svox/pico/lib/picodbg.c:427:33: warning: all paths through this function will call itself [-Winfinite-recursion]
static void picodbg_dummy(void) {
^
1 warning generated.
[ 4% 4510/97665] target thumb C: libs...2 <= external/svox/pico/lib/picodata.c
external/svox/pico/lib/picodata.c:577:75: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t puSimpleInitialize (register picodata_ProcessingUnit this, picoos_int32 resetMode) {
^
external/svox/pico/lib/picodata.c:577:94: warning: unused parameter 'resetMode' [-Wunused-parameter]
static pico_status_t puSimpleInitialize (register picodata_ProcessingUnit this, picoos_int32 resetMode) {
^
external/svox/pico/lib/picodata.c:581:74: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t puSimpleTerminate (register picodata_ProcessingUnit this) {
^
external/svox/pico/lib/picodata.c:590:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~ ^ ~~~~
4 warnings generated.
[ 4% 4511/97665] target thumb C: libs...<= external/svox/pico/lib/picoextapi.c
external/svox/pico/lib/picoextapi.c:116:10: warning: explicitly assigning value of variable of type 'const pico_Char *' (aka 'const unsigned char *') to itself [-Wself-assign]
name = name; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~ ^ ~~~~
external/svox/pico/lib/picoextapi.c:130:10: warning: explicitly assigning value of variable of type 'const pico_Char *' (aka 'const unsigned char *') to itself [-Wself-assign]
name = name; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~ ^ ~~~~
2 warnings generated.
[ 4% 4514/97665] target thumb C: libs...2 <= external/svox/pico/lib/picokdbg.c
external/svox/pico/lib/picokdbg.c:161:34: warning: all paths through this function will call itself [-Winfinite-recursion]
static void picokdbg_dummy(void) {
^
1 warning generated.
[ 4% 4516/97665] target thumb C: libs...32 <= external/svox/pico/lib/picokdt.c
external/svox/pico/lib/picokdt.c:398:65: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t kdtDtCheck(register picoknow_KnowledgeBase this,
^
1 warning generated.
[ 4% 4518/97665] target thumb C++: li...ox/pico/tts/com_svox_picottsengine.cpp
external/svox/pico/tts/com_svox_picottsengine.cpp:756:61: warning: unused parameter 'length' [-Wunused-parameter]
extern char * createPhonemeString( const char * xsampa, int length )
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1072:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
if (strlen(config) >= max_filename_length) {
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
external/svox/pico/tts/com_svox_picottsengine.cpp:1119:48: warning: unused parameter 'lang' [-Wunused-parameter]
tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant)
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1119:66: warning: unused parameter 'country' [-Wunused-parameter]
tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant)
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1119:87: warning: unused parameter 'variant' [-Wunused-parameter]
tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant)
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1133:90: warning: unused parameter 'variant' [-Wunused-parameter]
tts_result TtsEngine::setLanguage( const char * lang, const char * country, const char * variant )
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1212:25: warning: unused parameter 'variant' [-Wunused-parameter]
const char *variant) {
^
external/svox/pico/tts/com_svox_picottsengine.cpp:1316:92: warning: unused parameter 'size' [-Wunused-parameter]
tts_result TtsEngine::setProperty( const char * property, const char * value, const size_t size )
^
8 warnings generated.
[ 4% 4521/97665] target thumb C: libs...32 <= external/svox/pico/lib/picopal.c
external/svox/pico/lib/picopal.c:416:10: warning: explicitly assigning value of variable of type 'picopal_objsize_t' (aka 'unsigned int') to itself [-Wself-assign]
size = size; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
external/svox/pico/lib/picopal.c:452:10: warning: explicitly assigning value of variable of type 'void *' to itself [-Wself-assign]
addr = addr; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
external/svox/pico/lib/picopal.c:453:9: warning: explicitly assigning value of variable of type 'picopal_objsize_t' (aka 'unsigned int') to itself [-Wself-assign]
len = len; /* avoid warning "var not used in this function"*/
~~~ ^ ~~~
external/svox/pico/lib/picopal.c:454:10: warning: explicitly assigning value of variable of type 'picopal_int16' (aka 'short') to itself [-Wself-assign]
prot = prot; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
4 warnings generated.
[ 4% 4522/97665] target thumb C: libs..._32 <= external/svox/pico/lib/picoos.c
external/svox/pico/lib/picoos.c:533:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((c->size == (picoos_ptrdiff_t) cellSize)) {
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoos.c:533:18: note: remove extraneous parentheses around the comparison to silence this warning
if ((c->size == (picoos_ptrdiff_t) cellSize)) {
~ ^ ~
external/svox/pico/lib/picoos.c:533:18: note: use '=' to turn this equality comparison into an assignment
if ((c->size == (picoos_ptrdiff_t) cellSize)) {
^~
=
external/svox/pico/lib/picoos.c:1108:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((pos == f->lPos)) {
~~~~^~~~~~~~~~
external/svox/pico/lib/picoos.c:1108:18: note: remove extraneous parentheses around the comparison to silence this warning
if ((pos == f->lPos)) {
~ ^ ~
external/svox/pico/lib/picoos.c:1108:18: note: use '=' to turn this equality comparison into an assignment
if ((pos == f->lPos)) {
^~
=
external/svox/pico/lib/picoos.c:1624:34: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((sdFile->enc == PICOOS_ENC_LIN)) {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
external/svox/pico/lib/picoos.c:1624:34: note: remove extraneous parentheses around the comparison to silence this warning
if ((sdFile->enc == PICOOS_ENC_LIN)) {
~ ^ ~
external/svox/pico/lib/picoos.c:1624:34: note: use '=' to turn this equality comparison into an assignment
if ((sdFile->enc == PICOOS_ENC_LIN)) {
^~
=
external/svox/pico/lib/picoos.c:2283:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((string[(*ind)] == sepCh)) {
~~~~~~~~~~~~~~~^~~~~~~~
external/svox/pico/lib/picoos.c:2283:33: note: remove extraneous parentheses around the comparison to silence this warning
if ((string[(*ind)] == sepCh)) {
~ ^ ~
external/svox/pico/lib/picoos.c:2283:33: note: use '=' to turn this equality comparison into an assignment
if ((string[(*ind)] == sepCh)) {
^~
=
4 warnings generated.
[ 4% 4524/97665] target thumb C: libs...2 <= external/svox/pico/lib/picorsrc.c
external/svox/pico/lib/picorsrc.c:464:34: warning: unused parameter 'this' [-Wunused-parameter]
picorsrc_ResourceManager this,
^
external/svox/pico/lib/picorsrc.c:484:13: warning: explicitly assigning value of variable of type 'picoos_uint32' (aka 'unsigned int') to itself [-Wself-assign]
datalen = datalen;
~~~~~~~ ^ ~~~~~~~
2 warnings generated.
[ 4% 4525/97665] target thumb C: libs..._32 <= external/svox/pico/lib/picosa.c
external/svox/pico/lib/picosa.c:427:67: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t saTerminate(register picodata_ProcessingUnit this) {
^
external/svox/pico/lib/picosa.c:489:79: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 saPosDItemSeqGetPosRight(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picosa.c:791:67: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_uint8 saGetNrVowel(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picosa.c:1078:73: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t saExtractPhonemes(register picodata_ProcessingUnit this,
^
external/svox/pico/lib/picosa.c:1204:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
5 warnings generated.
[ 4% 4526/97665] target thumb C: libs...32 <= external/svox/pico/lib/picokpr.c
external/svox/pico/lib/picokpr.c:286:12: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
len__9 = len__9; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~~~ ^ ~~~~~~
external/svox/pico/lib/picokpr.c:296:13: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
len__10 = len__10; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~~~~ ^ ~~~~~~~
external/svox/pico/lib/picokpr.c:306:13: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
len__11 = len__11; /*PP 13.10.08 : fix warning "var not used in this function"*/
~~~~~~~ ^ ~~~~~~~
external/svox/pico/lib/picokpr.c:317:13: warning: explicitly assigning value of variable of type 'picoos_int32' (aka 'int') to itself [-Wself-assign]
len__12 = len__12; /* avoid warning "var not used in this function"*/
~~~~~~~ ^ ~~~~~~~
4 warnings generated.
[ 4% 4527/97665] target thumb C: libs...32 <= external/svox/pico/lib/picosig.c
external/svox/pico/lib/picosig.c:391:12: warning: explicitly assigning value of variable of type 'picoos_uint16' (aka 'unsigned short') to itself [-Wself-assign]
numinb = numinb; /* avoid warning "var not used in this function"*/
~~~~~~ ^ ~~~~~~
external/svox/pico/lib/picosig.c:762:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function" */
~~~~ ^ ~~~~
2 warnings generated.
[ 4% 4529/97665] target thumb C: libs...32 <= external/svox/pico/lib/picopam.c
external/svox/pico/lib/picopam.c:746:12: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picopam.c:2336:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
external/svox/pico/lib/picopam.c:2601:33: warning: explicitly assigning value of variable of type 'pico_status_t' (aka 'int') to itself [-Wself-assign]
sResult = sResult;
~~~~~~~ ^ ~~~~~~~
external/svox/pico/lib/picopam.c:2893:15: warning: explicitly assigning value of variable of type 'picoos_uint8' (aka 'unsigned char') to itself [-Wself-assign]
iteminfo1 = iteminfo1; /* avoid warning "var not used in this function"*/
~~~~~~~~~ ^ ~~~~~~~~~
external/svox/pico/lib/picopam.c:3536:37: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((event_type == PICOPAM_EVENT_P_BOUND)) {
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picopam.c:3536:37: note: remove extraneous parentheses around the comparison to silence this warning
if ((event_type == PICOPAM_EVENT_P_BOUND)) {
~ ^ ~
external/svox/pico/lib/picopam.c:3536:37: note: use '=' to turn this equality comparison into an assignment
if ((event_type == PICOPAM_EVENT_P_BOUND)) {
^~
=
5 warnings generated.
[ 4% 4530/97665] target thumb C: libs..._32 <= external/svox/pico/lib/picopr.c
external/svox/pico/lib/picopr.c:436:11: warning: explicitly assigning value of variable of type 'pr_MemTypes' to itself [-Wself-assign]
mType = mType; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:448:11: warning: explicitly assigning value of variable of type 'pr_MemTypes' to itself [-Wself-assign]
mType = mType; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:621:69: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_int32 tok_tokenDigitStrToInt (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_uchar stokenStr[])
^
external/svox/pico/lib/picopr.c:1004:49: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_initItem(picodata_ProcessingUnit this, pr_ioItem * item)
^
external/svox/pico/lib/picopr.c:1047:57: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_copyItemContent (picodata_ProcessingUnit this, pr_ioItem * inItem, pr_ioItem * outItem)
^
external/svox/pico/lib/picopr.c:1087:52: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_appendItem (picodata_ProcessingUnit this, pr_ioItemPtr * firstItem, pr_ioItemPtr * lastItem, pr_ioItemPtr item)
^
external/svox/pico/lib/picopr.c:1758:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((ltype == PICODATA_ITEMINFO1_TOKTYPE_LETTERV)/* || (ltype == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)*/) {
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picopr.c:1758:52: note: remove extraneous parentheses around the comparison to silence this warning
if ((ltype == PICODATA_ITEMINFO1_TOKTYPE_LETTERV)/* || (ltype == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)*/) {
~ ^ ~
external/svox/pico/lib/picopr.c:1758:52: note: use '=' to turn this equality comparison into an assignment
if ((ltype == PICODATA_ITEMINFO1_TOKTYPE_LETTERV)/* || (ltype == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)*/) {
^~
=
external/svox/pico/lib/picopr.c:2088:69: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((pr->ritems[with__0->ritemid+1]->head.info1 == PICODATA_ITEMINFO1_TOKTYPE_SPACE)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/svox/pico/lib/picopr.c:2088:69: note: remove extraneous parentheses around the comparison to silence this warning
if ((pr->ritems[with__0->ritemid+1]->head.info1 == PICODATA_ITEMINFO1_TOKTYPE_SPACE)) {
~ ^ ~
external/svox/pico/lib/picopr.c:2088:69: note: use '=' to turn this equality comparison into an assignment
if ((pr->ritems[with__0->ritemid+1]->head.info1 == PICODATA_ITEMINFO1_TOKTYPE_SPACE)) {
^~
=
external/svox/pico/lib/picopr.c:2262:61: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getNextToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
^
external/svox/pico/lib/picopr.c:2287:60: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getAltToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
^
external/svox/pico/lib/picopr.c:2326:63: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_findProduction (picodata_ProcessingUnit this, pr_subobj_t * pr,
^
external/svox/pico/lib/picopr.c:2404:65: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getProdContToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
^
external/svox/pico/lib/picopr.c:2429:65: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getTopLevelToken (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_bool firstprod)
^
external/svox/pico/lib/picopr.c:2457:57: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
^
external/svox/pico/lib/picopr.c:2480:66: warning: unused parameter 'this' [-Wunused-parameter]
static picoos_bool pr_getNextMultiToken (picodata_ProcessingUnit this, pr_subobj_t * pr)
^
external/svox/pico/lib/picopr.c:2516:8: warning: explicitly assigning value of variable of type 'pr_subobj_t *' (aka 'struct pr_subobj *') to itself [-Wself-assign]
pr = pr; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picopr.c:2517:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetNP' (aka 'unsigned int') to itself [-Wself-assign]
npset = npset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2518:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetWP' (aka 'unsigned int') to itself [-Wself-assign]
wpset = wpset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2503:66: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchMultiToken (picodata_ProcessingUnit this, pr_subobj_t * pr,
^
external/svox/pico/lib/picopr.c:2523:67: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensSpace (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
^
external/svox/pico/lib/picopr.c:2570:67: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensDigit (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
^
external/svox/pico/lib/picopr.c:2619:65: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensSeq (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
^
external/svox/pico/lib/picopr.c:2662:66: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensChar (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
^
external/svox/pico/lib/picopr.c:2682:68: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensLetter (picodata_ProcessingUnit this, pr_subobj_t * pr, picoos_int32 cmpres,
^
external/svox/pico/lib/picopr.c:2767:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetNP' (aka 'unsigned int') to itself [-Wself-assign]
npset = npset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2768:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetWP' (aka 'unsigned int') to itself [-Wself-assign]
wpset = wpset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2764:67: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensBegin (picodata_ProcessingUnit this, pr_subobj_t * pr,
^
external/svox/pico/lib/picopr.c:2781:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetNP' (aka 'unsigned int') to itself [-Wself-assign]
npset = npset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2782:11: warning: explicitly assigning value of variable of type 'picokpr_TokSetWP' (aka 'unsigned int') to itself [-Wself-assign]
wpset = wpset; /* avoid warning "var not used in this function"*/
~~~~~ ^ ~~~~~
external/svox/pico/lib/picopr.c:2778:65: warning: unused parameter 'this' [-Wunused-parameter]
static pr_MatchState pr_matchTokensEnd (picodata_ProcessingUnit this, pr_subobj_t * pr,
^
external/svox/pico/lib/picopr.c:2904:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((pr->ractpath.rlen == 0)) {
~~~~~~~~~~~~~~~~~~^~~~
external/svox/pico/lib/picopr.c:2904:32: note: remove extraneous parentheses around the comparison to silence this warning
if ((pr->ractpath.rlen == 0)) {
~ ^ ~
external/svox/pico/lib/picopr.c:2904:32: note: use '=' to turn this equality comparison into an assignment
if ((pr->ractpath.rlen == 0)) {
^~
=
external/svox/pico/lib/picopr.c:3038:53: warning: unused parameter 'this' [-Wunused-parameter]
static void pr_prepareItem (picodata_ProcessingUnit this, pr_subobj_t * pr, pr_ioItemPtr item)
^
external/svox/pico/lib/picopr.c:3258:60: warning: unused parameter 'this' [-Wunused-parameter]
pico_status_t prTerminate(register picodata_ProcessingUnit this)
^
external/svox/pico/lib/picopr.c:3272:12: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picopr.c:3354:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
35 warnings generated.
[ 4% 4535/97665] target thumb C: libs...2 <= external/svox/pico/lib/picospho.c
external/svox/pico/lib/picospho.c:289:89: warning: unused parameter 'resetMode' [-Wunused-parameter]
static pico_status_t sphoInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode)
^
external/svox/pico/lib/picospho.c:336:69: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t sphoTerminate(register picodata_ProcessingUnit this)
^
external/svox/pico/lib/picospho.c:496:10: warning: explicitly assigning value of variable of type 'spho_subobj_t *' (aka 'struct spho_subobj *') to itself [-Wself-assign]
spho = spho; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
external/svox/pico/lib/picospho.c:955:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
4 warnings generated.
[ 4% 4536/97665] target thumb C: libs...32 <= external/svox/pico/lib/picotok.c
external/svox/pico/lib/picotok.c:444:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((tok->utfpos == tok->utflen)) {
~~~~~~~~~~~~^~~~~~~~~~~~~~
external/svox/pico/lib/picotok.c:444:26: note: remove extraneous parentheses around the comparison to silence this warning
if ((tok->utfpos == tok->utflen)) {
~ ^ ~
external/svox/pico/lib/picotok.c:444:26: note: use '=' to turn this equality comparison into an assignment
if ((tok->utfpos == tok->utflen)) {
^~
=
external/svox/pico/lib/picotok.c:482:50: warning: unused parameter 'this' [-Wunused-parameter]
static void tok_putItem (picodata_ProcessingUnit this, tok_subobj_t * tok,
^
external/svox/pico/lib/picotok.c:577:51: warning: unused parameter 'this' [-Wunused-parameter]
static void tok_putItem2 (picodata_ProcessingUnit this, tok_subobj_t * tok,
^
external/svox/pico/lib/picotok.c:1342:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
} else if ((tok->utf[tok->utfpos-1] == EOL)) {
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
external/svox/pico/lib/picotok.c:1342:49: note: remove extraneous parentheses around the comparison to silence this warning
} else if ((tok->utf[tok->utfpos-1] == EOL)) {
~ ^ ~
external/svox/pico/lib/picotok.c:1342:49: note: use '=' to turn this equality comparison into an assignment
} else if ((tok->utf[tok->utfpos-1] == EOL)) {
^~
=
external/svox/pico/lib/picotok.c:1402:83: warning: unused parameter 'resetMode' [-Wunused-parameter]
static pico_status_t tokReset(register picodata_ProcessingUnit this, picoos_int32 resetMode)
^
external/svox/pico/lib/picotok.c:1481:68: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t tokTerminate(register picodata_ProcessingUnit this)
^
external/svox/pico/lib/picotok.c:1495:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picotok.c:1542:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
8 warnings generated.
[ 4% 4564/97665] target thumb C: libs..._32 <= external/svox/pico/lib/picowa.c
external/svox/pico/lib/picowa.c:146:67: warning: unused parameter 'this' [-Wunused-parameter]
static pico_status_t waTerminate(register picodata_ProcessingUnit this) {
^
external/svox/pico/lib/picowa.c:155:8: warning: explicitly assigning value of variable of type 'picoos_MemoryManager' (aka 'struct memory_manager *') to itself [-Wself-assign]
mm = mm; /* avoid warning "var not used in this function"*/
~~ ^ ~~
external/svox/pico/lib/picowa.c:387:10: warning: explicitly assigning value of variable of type 'picoos_int16' (aka 'short') to itself [-Wself-assign]
mode = mode; /* avoid warning "var not used in this function"*/
~~~~ ^ ~~~~
3 warnings generated.
[ 4% 4868/97665] target C: libexfat <= external/exfat/libexfat/node.c
external/exfat/libexfat/node.c:647:33: warning: taking address of packed member 'mdate' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->mtime, &meta1->mdate, &meta1->mtime,
^~~~~~~~~~~~
external/exfat/libexfat/node.c:647:48: warning: taking address of packed member 'mtime' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->mtime, &meta1->mdate, &meta1->mtime,
^~~~~~~~~~~~
external/exfat/libexfat/node.c:649:33: warning: taking address of packed member 'adate' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->atime, &meta1->adate, &meta1->atime, NULL);
^~~~~~~~~~~~
external/exfat/libexfat/node.c:649:48: warning: taking address of packed member 'atime' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(node->atime, &meta1->adate, &meta1->atime, NULL);
^~~~~~~~~~~~
external/exfat/libexfat/node.c:895:32: warning: taking address of packed member 'crdate' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(time(NULL), &meta1->crdate, &meta1->crtime,
^~~~~~~~~~~~~
external/exfat/libexfat/node.c:895:48: warning: taking address of packed member 'crtime' of class or structure 'exfat_entry_meta1' may result in an unaligned pointer value [-Waddress-of-packed-member]
exfat_unix2exfat(time(NULL), &meta1->crdate, &meta1->crtime,
^~~~~~~~~~~~~
6 warnings generated.
[ 4% 4870/97665] target thumb C++: li...8916/policy_hal/AudioPolicyManager.cpp
In file included from hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.cpp:64:
hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.h:72:26: warning: 'android::AudioPolicyManagerCustom::startInput' hides overloaded virtual function [-Woverloaded-virtual]
virtual status_t startInput(audio_io_handle_t input,
^
frameworks/av/services/audiopolicy/managerdefault/AudioPolicyManager.h:141:26: note: hidden overloaded virtual function 'android::AudioPolicyManager::startInput' declared here: different number of parameters (3 vs 2)
virtual status_t startInput(audio_io_handle_t input,
^
In file included from hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.cpp:64:
hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.h:92:18: warning: 'android::AudioPolicyManagerCustom::startSource' hides overloaded virtual function [-Woverloaded-virtual]
status_t startSource(const sp<AudioOutputDescriptor>& outputDesc,
^
frameworks/av/services/audiopolicy/managerdefault/AudioPolicyManager.h:487:26: note: hidden overloaded virtual function 'android::AudioPolicyManager::startSource' declared here: different number of parameters (5 vs 4)
virtual status_t startSource(const sp<AudioOutputDescriptor>& outputDesc,
^
hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.cpp:1287:69: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (flags == AUDIO_OUTPUT_FLAG_DIRECT || tryForDirectPCM(flags) &&
~~ ~~~~~~~~~~~~~~~~~~~~~~~^~
hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.cpp:1287:69: note: place parentheses around the '&&' expression to silence this warning
if (flags == AUDIO_OUTPUT_FLAG_DIRECT || tryForDirectPCM(flags) &&
^
hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.cpp:1639:51: warning: data argument not used by format string [-Wformat-extra-args]
mOutputs.keyAt(i), session);
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
4 warnings generated.
[ 5% 4908/97665] target C: libntfs-3... external/ntfs-3g/libntfs-3g/collate.c
external/ntfs-3g/libntfs-3g/collate.c:230:16: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&file_name_attr1->file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~
external/ntfs-3g/libntfs-3g/collate.c:232:16: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&file_name_attr2->file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 5% 4915/97665] target C: libntfs-3g <= external/ntfs-3g/libntfs-3g/dir.c
external/ntfs-3g/libntfs-3g/dir.c:330:17: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&ie->key.file_name.file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
external/ntfs-3g/libntfs-3g/dir.c:470:17: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
(ntfschar*)&ie->key.file_name.file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 5% 4917/97665] target C: libntfs-3...<= external/ntfs-3g/libntfs-3g/ioctl.c
In file included from external/ntfs-3g/libntfs-3g/ioctl.c:70:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/ioctl.c:70:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/ioctl.c:70:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 5% 4924/97665] target C: libntfs-3...xternal/ntfs-3g/libntfs-3g/object_id.c
In file included from external/ntfs-3g/libntfs-3g/object_id.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/object_id.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/object_id.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 5% 4926/97665] target C: libntfs-3... external/ntfs-3g/libntfs-3g/reparse.c
In file included from external/ntfs-3g/libntfs-3g/reparse.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/reparse.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/reparse.c:44:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 5% 4930/97665] target C: libntfs-3...= external/ntfs-3g/libntfs-3g/unistr.c
external/ntfs-3g/libntfs-3g/unistr.c:432:31: warning: taking address of packed member 'file_name' of class or structure 'FILE_NAME_ATTR' may result in an unaligned pointer value [-Waddress-of-packed-member]
ntfs_name_upcase((ntfschar*)&file_name_attr->file_name,
^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 5% 4931/97665] target C: libntfs-3...= external/ntfs-3g/libntfs-3g/volume.c
In file included from external/ntfs-3g/libntfs-3g/volume.c:62:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/volume.c:62:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/volume.c:62:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 5% 4939/97665] target C: libntfs-3...external/ntfs-3g/libntfs-3g/security.c
In file included from external/ntfs-3g/libntfs-3g/security.c:52:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/libntfs-3g/security.c:52:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/libntfs-3g/security.c:52:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 5% 5026/97665] target C: brctl <= external/brctl/brctl/brctl_disp.c
external/brctl/brctl/brctl_disp.c:40:39: warning: unused parameter 'b' [-Wunused-parameter]
static int dump_interface(const char *b, const char *p, void *arg)
^
external/brctl/brctl/brctl_disp.c:40:63: warning: unused parameter 'arg' [-Wunused-parameter]
static int dump_interface(const char *b, const char *p, void *arg)
^
external/brctl/brctl/brctl_disp.c:65:65: warning: unused parameter 'arg' [-Wunused-parameter]
static int dump_port_info(const char *br, const char *p, void *arg)
^
3 warnings generated.
[ 5% 5027/97665] target C: brctl <= external/brctl/brctl/brctl_cmd.c
external/brctl/brctl/brctl_cmd.c:38:29: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_addbr(int argc, char*const* argv)
^
external/brctl/brctl/brctl_cmd.c:57:29: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_delbr(int argc, char*const* argv)
^
external/brctl/brctl/brctl_cmd.c:162:33: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_setageing(int argc, char *const* argv)
^
external/brctl/brctl/brctl_cmd.c:180:37: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_setbridgeprio(int argc, char *const* argv)
^
external/brctl/brctl/brctl_cmd.c:197:29: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_setfd(int argc, char *const* argv)
^
external/brctl/brctl/brctl_cmd.c:215:32: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_sethello(int argc, char *const* argv)
^
external/brctl/brctl/brctl_cmd.c:233:33: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_setmaxage(int argc, char *const* argv)
^
external/brctl/brctl/brctl_cmd.c:250:35: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_setpathcost(int argc, char *const* argv)
^
external/brctl/brctl/brctl_cmd.c:266:35: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_setportprio(int argc, char *const* argv)
^
external/brctl/brctl/brctl_cmd.c:283:27: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_stp(int argc, char *const* argv)
^
external/brctl/brctl/brctl_cmd.c:305:31: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_showstp(int argc, char *const* argv)
^
external/brctl/brctl/brctl_cmd.c:319:48: warning: unused parameter 'arg' [-Wunused-parameter]
static int show_bridge(const char *name, void *arg)
^
external/brctl/brctl/brctl_cmd.c:361:32: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_showmacs(int argc, char *const* argv)
^
external/brctl/brctl/brctl_cmd.c:405:31: warning: unused parameter 'argc' [-Wunused-parameter]
static int br_cmd_hairpin(int argc, char *const* argv)
^
14 warnings generated.
[ 5% 5824/97665] target C: mount.ntf... external/ntfs-3g/src/ntfs-3g_common.c
In file included from external/ntfs-3g/src/ntfs-3g_common.c:50:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/src/ntfs-3g_common.c:50:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/src/ntfs-3g_common.c:50:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 5% 5837/97665] target C: mount.ntfs <= external/ntfs-3g/src/ntfs-3g.c
In file included from external/ntfs-3g/src/ntfs-3g.c:92:
external/ntfs-3g/include/ntfs-3g/compat.h:79:9: warning: 'S_IREAD' macro redefined [-Wmacro-redefined]
#define S_IREAD 0400 /* Read by owner. */
^
bionic/libc/include/sys/stat.h:143:9: note: previous definition is here
#define S_IREAD S_IRUSR
^
In file included from external/ntfs-3g/src/ntfs-3g.c:92:
external/ntfs-3g/include/ntfs-3g/compat.h:80:9: warning: 'S_IWRITE' macro redefined [-Wmacro-redefined]
#define S_IWRITE 0200 /* Write by owner. */
^
bionic/libc/include/sys/stat.h:144:9: note: previous definition is here
#define S_IWRITE S_IWUSR
^
In file included from external/ntfs-3g/src/ntfs-3g.c:92:
external/ntfs-3g/include/ntfs-3g/compat.h:81:9: warning: 'S_IEXEC' macro redefined [-Wmacro-redefined]
#define S_IEXEC 0100 /* Execute by owner. */
^
bionic/libc/include/sys/stat.h:145:9: note: previous definition is here
#define S_IEXEC S_IXUSR
^
3 warnings generated.
[ 6% 5999/97665] target C: libssh <= external/openssh/dh.c
external/openssh/dh.c:126:26: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
if (BN_num_bits(dhg->p) != dhg->size) {
~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
1 warning generated.
[ 6% 6007/97665] target C: libssh <= external/openssh/channels.c
external/openssh/channels.c:1254:15: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
len = strlen(p);
^
bionic/libc/include/string.h:343:42: note: passing argument to parameter 's' here
size_t strlen(const char* const _Nonnull s __pass_object_size0)
^
external/openssh/channels.c:1257:20: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(username, p, sizeof(username));
^
bionic/libc/include/string.h:306:104: note: passing argument to parameter 'src' here
size_t strlcpy(char* const _Nonnull __restrict dst __pass_object_size, const char *_Nonnull __restrict src, size_t size)
^
external/openssh/channels.c:1275:16: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
len = strlen(p);
^
bionic/libc/include/string.h:343:42: note: passing argument to parameter 's' here
size_t strlen(const char* const _Nonnull s __pass_object_size0)
^
external/openssh/channels.c:1284:21: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
c->path = xstrdup(p);
^
external/openssh/xmalloc.h:24:27: note: passing argument to parameter here
char *xstrdup(const char *);
^
4 warnings generated.
[ 6% 6016/97665] target C: libssh <= external/openssh/kex.c
external/openssh/kex.c:466:25: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
kex->server_sig_algs = val;
^ ~~~
1 warning generated.
[ 6% 6033/97665] target C: libssh <=.../openssh/openbsd-compat/bcrypt_pbkdf.c
external/openssh/openbsd-compat/bcrypt_pbkdf.c:137:31: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
crypto_hash_sha512(sha2pass, pass, passlen);
^~~~
external/openssh/crypto_api.h:25:62: note: passing argument to parameter here
int crypto_hash_sha512(unsigned char *, const unsigned char *,
^
1 warning generated.
[ 6% 6069/97665] target C: libssh <=...xternal/openssh/sshbuf-getput-crypto.c
external/openssh/sshbuf-getput-crypto.c:155:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (BN_bn2bin(v, d + 1) != len)
~~~~~~~~~~~~~~~~~~~ ^ ~~~
external/openssh/sshbuf-getput-crypto.c:177:22: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (BN_bn2bin(v, d) != (int)len_bytes)
~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
2 warnings generated.
[ 6% 6148/97665] Yacc: ss <= external/iproute2/misc/ssfilter.y
external/iproute2/misc/ssfilter.y: конфликты: 31 сдвига/вывода
[ 6% 6158/97665] target C++: secdiscard <= system/vold/FileDeviceUtils.cpp
6 warnings generated.
Suppressed 6 warnings (5 in non-user code, 1 with check filters).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[ 6% 6161/97665] target C: ssh <= external/openssh/mux.c
external/openssh/mux.c:1842:30: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((r = sshbuf_get_u32(m, &fwd->allocated_port)) != 0)
^~~~~~~~~~~~~~~~~~~~
external/openssh/sshbuf.h:171:51: note: passing argument to parameter 'valp' here
int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
^
1 warning generated.
[ 6% 6178/97665] target C++: secdiscard <= system/vold/secdiscard.cpp
6 warnings generated.
Suppressed 6 warnings (5 in non-user code, 1 with check filters).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[ 6% 6208/97665] target C: sshd <= external/openssh/monitor_wrap.c
external/openssh/monitor_wrap.c:415:29: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((r = sshbuf_get_u32(m, &authenticated)) != 0)
^~~~~~~~~~~~~~
external/openssh/sshbuf.h:171:51: note: passing argument to parameter 'valp' here
int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
^
external/openssh/monitor_wrap.c:475:29: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((r = sshbuf_get_u32(m, &allowed)) != 0)
^~~~~~~~
external/openssh/sshbuf.h:171:51: note: passing argument to parameter 'valp' here
int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
^
external/openssh/monitor_wrap.c:578:29: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((r = sshbuf_get_u32(m, &success)) != 0)
^~~~~~~~
external/openssh/sshbuf.h:171:51: note: passing argument to parameter 'valp' here
int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
^
external/openssh/monitor_wrap.c:863:29: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((r = sshbuf_get_u32(m, &authok)) != 0)
^~~~~~~
external/openssh/sshbuf.h:171:51: note: passing argument to parameter 'valp' here
int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
^
4 warnings generated.
[ 7% 6901/97665] target C++: vdc <= system/vold/vdc.cpp
6 warnings generated.
Suppressed 6 warnings (5 in non-user code, 1 with check filters).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
[ 7% 7406/97665] Building Kernel Config
make: вход в каталог «/home/user/android/cm-15.1/kernel/asus/msm8916»
GEN /home/user/android/cm-15.1/out/target/product/X550/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make: выход из каталога «/home/user/android/cm-15.1/kernel/asus/msm8916»
make: вход в каталог «/home/user/android/cm-15.1/kernel/asus/msm8916»
GEN /home/user/android/cm-15.1/out/target/product/X550/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: выход из каталога «/home/user/android/cm-15.1/kernel/asus/msm8916»
[ 7% 7645/97665] target arm C++: lib7...7zip/CPP/7zip/Archive/7z/7zExtract.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zExtract.cpp:12:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zExtract.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
2 warnings generated.
[ 7% 7647/97665] target arm C++: lib7...7zip/CPP/7zip/Archive/7z/7zHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.cpp:16:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
1 warning generated.
[ 7% 7648/97665] target arm C++: lib7...p/CPP/7zip/Archive/7z/7zHandlerOut.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:7:
external/p7zip/CPP/7zip/Archive/7z/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:12:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:151:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:284:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
bool need_MTime = (Write_MTime.Def && Write_MTime.Val || !Write_MTime.Def);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ~~
external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:284:38: note: place parentheses around the '&&' expression to silence this warning
bool need_MTime = (Write_MTime.Def && Write_MTime.Val || !Write_MTime.Def);
^
( )
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandlerOut.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
5 warnings generated.
[ 7% 7649/97665] target arm C++: lib7...p/CPP/7zip/Archive/7z/7zProperties.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zProperties.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
1 warning generated.
[ 7% 7650/97665] target arm C++: lib7...al/p7zip/CPP/7zip/Archive/7z/7zOut.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zOut.cpp:11:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zOut.h:6:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zOut.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
2 warnings generated.
[ 7% 7651/97665] target arm C++: lib7...nal/p7zip/CPP/7zip/Archive/7z/7zIn.cpp
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1513:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (buf[i] == NID::kEncodedHeader && buf[i + 1] == NID::kPackInfo ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1513:41: note: place parentheses around the '&&' expression to silence this warning
if (buf[i] == NID::kEncodedHeader && buf[i + 1] == NID::kPackInfo ||
^
( )
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1514:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
buf[i] == NID::kHeader && buf[i + 1] == NID::kMainStreamsInfo)
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:1514:34: note: place parentheses around the '&&' expression to silence this warning
buf[i] == NID::kHeader && buf[i + 1] == NID::kMainStreamsInfo)
^
( )
In file included from external/p7zip/CPP/7zip/Archive/7z/7zIn.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
3 warnings generated.
[ 7% 7652/97665] target arm C++: lib7...zip/CPP/7zip/Archive/7z/7zRegister.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zHandler.h:15:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
1 warning generated.
[ 7% 7653/97665] target arm C++: lib7...p7zip/CPP/7zip/Archive/7z/7zDecode.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zDecode.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
1 warning generated.
[ 7% 7655/97665] target arm C++: lib7...p7zip/CPP/7zip/Archive/7z/7zEncode.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.cpp:12:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.h:6:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
2 warnings generated.
[ 7% 7659/97665] target arm C++: lib7...l/p7zip/CPP/7zip/Archive/ArHandler.cpp
external/p7zip/CPP/7zip/Archive/ArHandler.cpp:623:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
1 warning generated.
[ 7% 7661/97665] target arm C++: lib7.../p7zip/CPP/7zip/Archive/ArjHandler.cpp
external/p7zip/CPP/7zip/Archive/ArjHandler.cpp:679:15: warning: enumeration value 'k_ErrorType_OK' not handled in switch [-Wswitch]
switch (_arc.Error)
^
1 warning generated.
[ 7% 7662/97665] target arm C++: lib7.../p7zip/CPP/7zip/Archive/Bz2Handler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Bz2Handler.cpp:12:
external/p7zip/CPP/7zip/Archive/../Compress/BZip2Encoder.h:140:18: warning: field 'm_BlockSorterIndex' will be initialized after field 'm_Block' [-Wreorder]
CThreadInfo(): m_BlockSorterIndex(0), m_Block(0) {}
^
1 warning generated.
[ 7% 7664/97665] target arm C++: lib7...p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp
In file included from external/p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp:7:
external/p7zip/CPP/7zip/Archive/7z/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp:18:
In file included from external/p7zip/CPP/7zip/Archive/7z/7zEncode.h:6:
external/p7zip/CPP/7zip/Archive/7z/7zCompressionMode.h:64:7: warning: field 'PasswordIsDefined' will be initialized after field 'NumThreads' [-Wreorder]
PasswordIsDefined(false)
^
In file included from external/p7zip/CPP/7zip/Archive/7z/7zUpdate.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/7z/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/7z/../Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
3 warnings generated.
[ 7% 7667/97665] target arm C++: lib7...ip/CPP/7zip/Archive/Cab/CabHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Cab/CabHandler.cpp:22:
external/p7zip/CPP/7zip/Archive/Cab/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
1 warning generated.
[ 7% 7668/97665] target arm C++: lib7.../p7zip/CPP/7zip/Archive/ComHandler.cpp
external/p7zip/CPP/7zip/Archive/ComHandler.cpp:586:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (msiName.Len() >= 4 && StringsAreEqualNoCase_Ascii(msiName.RightPtr(4), ".cab")
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/ComHandler.cpp:586:30: note: place parentheses around the '&&' expression to silence this warning
if (msiName.Len() >= 4 && StringsAreEqualNoCase_Ascii(msiName.RightPtr(4), ".cab")
^
( )
external/p7zip/CPP/7zip/Archive/ComHandler.cpp:587:47: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| !isMsiSpec && msiName.Len() >= 3 && StringsAreEqualNoCase_Ascii(msiName.RightPtr(3), "exe")
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/ComHandler.cpp:587:47: note: place parentheses around the '&&' expression to silence this warning
|| !isMsiSpec && msiName.Len() >= 3 && StringsAreEqualNoCase_Ascii(msiName.RightPtr(3), "exe")
^
( )
2 warnings generated.
[ 7% 7670/97665] target arm C++: lib7...PP/7zip/Archive/Common/CoderMixer2.cpp
In file included from external/p7zip/CPP/7zip/Archive/Common/CoderMixer2.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/Common/../../Common/../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
1 warning generated.
[ 7% 7672/97665] target arm C++: lib7...ip/CPP/7zip/Archive/Chm/ChmHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Chm/ChmHandler.cpp:18:
external/p7zip/CPP/7zip/Archive/Chm/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
external/p7zip/CPP/7zip/Archive/Chm/ChmHandler.cpp:150:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else if (item.Section < m_Database.Sections.Size())
^
2 warnings generated.
[ 7% 7676/97665] target arm C++: lib7.../7zip/Archive/Common/ItemNameUtils.cpp
external/p7zip/CPP/7zip/Archive/Common/ItemNameUtils.cpp:13:40: warning: unused parameter 's' [-Wunused-parameter]
void ReplaceToOsPathSeparator(wchar_t *s)
^
1 warning generated.
[ 7% 7684/97665] target arm C++: lib7...p7zip/CPP/7zip/Archive/CpioHandler.cpp
external/p7zip/CPP/7zip/Archive/CpioHandler.cpp:221:25: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
for (int i = 6; i < k_OctRecord_Size; i++)
~ ^ ~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/CpioHandler.cpp:234:25: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
for (int i = 6; i < k_HexRecord_Size; i++)
~ ^ ~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/CpioHandler.cpp:461:15: warning: enumeration value 'k_ErrorType_OK' not handled in switch [-Wswitch]
switch (_error)
^
3 warnings generated.
[ 7% 7691/97665] target arm C++: lib7.../p7zip/CPP/7zip/Archive/ExtHandler.cpp
external/p7zip/CPP/7zip/Archive/ExtHandler.cpp:864:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const int GetParentAux(const CItem &item) const
^~~~~~
1 warning generated.
[ 7% 7695/97665] target arm C++: lib7...p7zip/CPP/7zip/Archive/IhexHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/IhexHandler.cpp:8:
external/p7zip/CPP/7zip/Archive/../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
1 warning generated.
[ 7% 7701/97665] target arm C++: lib7...p7zip/CPP/7zip/Archive/LzmaHandler.cpp
external/p7zip/CPP/7zip/Archive/LzmaHandler.cpp:295:14: warning: comparison of constant 72057594037927936 with expression of type 'size_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
if (size >= ((UInt64)1 << 56))
~~~~ ^ ~~~~~~~~~~~~~~~~~
1 warning generated.
[ 7% 7703/97665] target arm C++: lib7.../p7zip/CPP/7zip/Archive/MubHandler.cpp
external/p7zip/CPP/7zip/Archive/MubHandler.cpp:124:42: warning: '&&' within '||' [-Wlogical-op-parentheses]
item.Type != MACH_CPU_TYPE_386 &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/Archive/MubHandler.cpp:124:42: note: place parentheses around the '&&' expression to silence this warning
item.Type != MACH_CPU_TYPE_386 &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
1 warning generated.
[ 7% 7709/97665] target arm C++: lib7...p7zip/CPP/7zip/Archive/Nsis/NsisIn.cpp
external/p7zip/CPP/7zip/Archive/Nsis/NsisIn.cpp:2805:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
s[0] == WCHAR_PATH_SEPARATOR &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/Archive/Nsis/NsisIn.cpp:2805:36: note: place parentheses around the '&&' expression to silence this warning
s[0] == WCHAR_PATH_SEPARATOR &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/Archive/Nsis/NsisIn.cpp:2813:35: warning: '&&' within '||' [-Wlogical-op-parentheses]
s[0] == CHAR_PATH_SEPARATOR &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/Archive/Nsis/NsisIn.cpp:2813:35: note: place parentheses around the '&&' expression to silence this warning
s[0] == CHAR_PATH_SEPARATOR &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
2 warnings generated.
[ 7% 7710/97665] target arm C++: lib7...p7zip/CPP/7zip/Archive/QcowHandler.cpp
external/p7zip/CPP/7zip/Archive/QcowHandler.cpp:66:11: warning: 'NArchive::NQcow::CHandler::Seek' hides overloaded virtual function [-Woverloaded-virtual]
HRESULT Seek(UInt64 offset)
^
external/p7zip/CPP/7zip/Archive/HandlerCont.h:104:13: note: hidden overloaded virtual function 'NArchive::CHandlerImg::Seek' declared here: different number of parameters (3 vs 1)
STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
^
1 warning generated.
[ 7% 7711/97665] target arm C++: lib7...p7zip/CPP/7zip/Archive/NtfsHandler.cpp
external/p7zip/CPP/7zip/Archive/NtfsHandler.cpp:2160:31: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
if (rec.SiAttr.SecurityId >= 0)
~~~~~~~~~~~~~~~~~~~~~ ^ ~
1 warning generated.
[ 7% 7714/97665] target arm C++: lib7...p/CPP/7zip/Archive/Rar/Rar5Handler.cpp
external/p7zip/CPP/7zip/Archive/Rar/Rar5Handler.cpp:1001:9: warning: explicitly assigning value of variable of type 'LONG' (aka 'int') to itself [-Wself-assign]
res = res;
~~~ ^ ~~~
1 warning generated.
[ 7% 7716/97665] target arm C++: lib7...l/p7zip/CPP/7zip/Archive/PeHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/PeHandler.cpp:9:
external/p7zip/CPP/7zip/Archive/../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
external/p7zip/CPP/7zip/Archive/PeHandler.cpp:350:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetSizeExtract() const { return PSize; }
^~~~~~
external/p7zip/CPP/7zip/Archive/PeHandler.cpp:351:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetSizeMin() const { return MyMin(PSize, VSize); }
^~~~~~
external/p7zip/CPP/7zip/Archive/PeHandler.cpp:1916:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
4 warnings generated.
[ 7% 7717/97665] target arm C++: lib7...p/CPP/7zip/Archive/SquashfsHandler.cpp
external/p7zip/CPP/7zip/Archive/SquashfsHandler.cpp:1270:38: warning: comparison of constant 4294967296 with expression of type 'size_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
if (_dynOutStreamSpec->GetSize() >= ((UInt64)1 << 32))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
1 warning generated.
[ 7% 7718/97665] target arm C++: lib7...ip/CPP/7zip/Archive/Tar/TarHandler.cpp
external/p7zip/CPP/7zip/Archive/Tar/TarHandler.cpp:66:20: warning: enumeration value 'k_ErrorType_OK' not handled in switch [-Wswitch]
else switch (_error)
^
1 warning generated.
[ 7% 7727/97665] target arm C++: lib7...l/p7zip/CPP/7zip/Archive/Udf/UdfIn.cpp
external/p7zip/CPP/7zip/Archive/Udf/UdfIn.cpp:578:16: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
if (_numRefs >= kNumRefsMax)
~~~~~~~~ ^ ~~~~~~~~~~~
1 warning generated.
[ 7% 7728/97665] target arm C++: lib7.../p7zip/CPP/7zip/Archive/VdiHandler.cpp
external/p7zip/CPP/7zip/Archive/VdiHandler.cpp:55:11: warning: 'NArchive::NVdi::CHandler::Seek' hides overloaded virtual function [-Woverloaded-virtual]
HRESULT Seek(UInt64 offset)
^
external/p7zip/CPP/7zip/Archive/HandlerCont.h:104:13: note: hidden overloaded virtual function 'NArchive::CHandlerImg::Seek' declared here: different number of parameters (3 vs 1)
STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
^
1 warning generated.
[ 7% 7729/97665] target arm C++: lib7...p7zip/CPP/7zip/Archive/UefiHandler.cpp
external/p7zip/CPP/7zip/Archive/UefiHandler.cpp:360:19: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
for (i = 4; i < kGuidSize; i++)
~ ^ ~~~~~~~~~
external/p7zip/CPP/7zip/Archive/UefiHandler.cpp:453:19: warning: comparison of integers of different signs: 'int' and 'const UInt32' (aka 'const unsigned int') [-Wsign-compare]
for (i = 0; i < kFileHeaderSize; i++)
~ ^ ~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/UefiHandler.cpp:1182:13: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
if (level > kLevelMax)
~~~~~ ^ ~~~~~~~~~
3 warnings generated.
[ 7% 7730/97665] target arm C++: lib7.../p7zip/CPP/7zip/Archive/VhdHandler.cpp
external/p7zip/CPP/7zip/Archive/VhdHandler.cpp:250:11: warning: 'NArchive::NVhd::CHandler::Seek' hides overloaded virtual function [-Woverloaded-virtual]
HRESULT Seek(UInt64 offset);
^
external/p7zip/CPP/7zip/Archive/HandlerCont.h:104:13: note: hidden overloaded virtual function 'NArchive::CHandlerImg::Seek' declared here: different number of parameters (3 vs 1)
STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
^
1 warning generated.
[ 7% 7732/97665] target arm C++: lib7...ip/CPP/7zip/Archive/Wim/WimHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp:14:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:14:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzmsDecoder.h:266:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetUnpackSize() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp:14:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:15:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
external/p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp:308:21: warning: incrementing expression of type bool is deprecated and incompatible with C++1z [-Wdeprecated-increment-bool]
numMethods++;
~~~~~~~~~~^
external/p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp:318:19: warning: incrementing expression of type bool is deprecated and incompatible with C++1z [-Wdeprecated-increment-bool]
numMethods++;
~~~~~~~~~~^
4 warnings generated.
[ 7% 7733/97665] target arm C++: lib7...p/CPP/7zip/Archive/Wim/WimRegister.cpp
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:14:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzmsDecoder.h:266:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetUnpackSize() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:15:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
2 warnings generated.
[ 7% 7734/97665] target arm C++: lib7.../p7zip/CPP/7zip/Archive/XarHandler.cpp
external/p7zip/CPP/7zip/Archive/XarHandler.cpp:87:7: warning: field 'Parent' will be initialized after field 'Size' [-Wreorder]
Parent(-1),
^
external/p7zip/CPP/7zip/Archive/XarHandler.cpp:258:23: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
if (s.Len() >= 0)
~~~~~~~ ^ ~
2 warnings generated.
[ 7% 7735/97665] target arm C++: lib7...l/p7zip/CPP/7zip/Archive/Wim/WimIn.cpp
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.cpp:28:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:14:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzmsDecoder.h:266:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetUnpackSize() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.cpp:28:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:15:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
2 warnings generated.
[ 7% 7738/97665] target arm C++: lib7...CPP/7zip/Archive/Wim/WimHandlerOut.cpp
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:9:
external/p7zip/CPP/7zip/Archive/Wim/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:17:
external/p7zip/CPP/7zip/Archive/Wim/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/Wim/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:22:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:14:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzmsDecoder.h:266:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetUnpackSize() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:22:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:15:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:96:48: warning: field 'SecurityId' will be initialized after field 'FileID' [-Wreorder]
CMetaItem(): UpdateIndex(-1), HashIndex(-1), SecurityId(-1),
^
external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:1841:18: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if ((int)i < _oldXml.Images.Size())
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
[ 7% 7742/97665] target arm C++: lib7...CPP/7zip/Archive/Zip/ZipHandlerOut.cpp
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandlerOut.cpp:21:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:6:
external/p7zip/CPP/7zip/Archive/Zip/../../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandlerOut.cpp:21:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:12:
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.h:280:31: warning: field 'Callback' will be initialized after field 'IsArcOpen' [-Wreorder]
CInArchive(): Stream(NULL), Callback(NULL), IsArcOpen(false) {}
^
2 warnings generated.
[ 7% 7743/97665] target arm C++: lib7...p/CPP/7zip/Archive/Zip/ZipRegister.cpp
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:6:
external/p7zip/CPP/7zip/Archive/Zip/../../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:12:
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.h:280:31: warning: field 'Callback' will be initialized after field 'IsArcOpen' [-Wreorder]
CInArchive(): Stream(NULL), Callback(NULL), IsArcOpen(false) {}
^
2 warnings generated.
[ 7% 7744/97665] target arm C++: lib7...l/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:7:
external/p7zip/CPP/7zip/Archive/Zip/../../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:17:
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.h:280:31: warning: field 'Callback' will be initialized after field 'IsArcOpen' [-Wreorder]
CInArchive(): Stream(NULL), Callback(NULL), IsArcOpen(false) {}
^
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:1370:48: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (items.IsEmpty() || items.Size() == 1 && IsStrangeItem(items[0]))
~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:1370:48: note: place parentheses around the '&&' expression to silence this warning
if (items.IsEmpty() || items.Size() == 1 && IsStrangeItem(items[0]))
^
( )
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:2012:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (ecd64.ThisDisk == 0 && ecd64AbsOffset != ArcInfo.Base + locator.Ecd64Offset
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:2012:29: note: place parentheses around the '&&' expression to silence this warning
if (ecd64.ThisDisk == 0 && ecd64AbsOffset != ArcInfo.Base + locator.Ecd64Offset
^
( )
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:1962:16: warning: comparison of integers of different signs: 'UInt32' (aka 'unsigned int') and 'int' [-Wsign-compare]
if (cdDisk != (int)ecd64.CdDisk)
~~~~~~ ^ ~~~~~~~~~~~~~~~~~
5 warnings generated.
[ 7% 7745/97665] target arm C++: lib7...ip/CPP/7zip/Archive/Zip/ZipHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.cpp:35:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:6:
external/p7zip/CPP/7zip/Archive/Zip/../../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.cpp:35:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:12:
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.h:280:31: warning: field 'Callback' will be initialized after field 'IsArcOpen' [-Wreorder]
CInArchive(): Stream(NULL), Callback(NULL), IsArcOpen(false) {}
^
2 warnings generated.
[ 7% 7750/97665] target arm C++: lib7...zip/CPP/7zip/Archive/Zip/ZipUpdate.cpp
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipUpdate.cpp:27:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipUpdate.h:12:
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.h:280:31: warning: field 'Callback' will be initialized after field 'IsArcOpen' [-Wreorder]
CInArchive(): Stream(NULL), Callback(NULL), IsArcOpen(false) {}
^
1 warning generated.
[ 7% 7767/97665] target arm C++: lib7...l/p7zip/CPP/7zip/Common/UniqBlocks.cpp
In file included from external/p7zip/CPP/7zip/Common/UniqBlocks.cpp:7:
external/p7zip/CPP/7zip/Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
1 warning generated.
[ 7% 7771/97665] target arm C++: lib7...ip/CPP/7zip/Compress/BZip2Register.cpp
In file included from external/p7zip/CPP/7zip/Compress/BZip2Register.cpp:9:
external/p7zip/CPP/7zip/Compress/BZip2Encoder.h:140:18: warning: field 'm_BlockSorterIndex' will be initialized after field 'm_Block' [-Wreorder]
CThreadInfo(): m_BlockSorterIndex(0), m_Block(0) {}
^
1 warning generated.
[ 7% 7773/97665] target arm C++: lib7...zip/CPP/7zip/Compress/BZip2Encoder.cpp
In file included from external/p7zip/CPP/7zip/Compress/BZip2Encoder.cpp:10:
external/p7zip/CPP/7zip/Compress/BZip2Encoder.h:140:18: warning: field 'm_BlockSorterIndex' will be initialized after field 'm_Block' [-Wreorder]
CThreadInfo(): m_BlockSorterIndex(0), m_Block(0) {}
^
1 warning generated.
[ 7% 7789/97665] target arm C++: lib7...p/CPP/7zip/Compress/DeflateDecoder.cpp
external/p7zip/CPP/7zip/Compress/DeflateDecoder.cpp:12:5: warning: field '_deflate64Mode' will be initialized after field '_deflateNSIS' [-Wreorder]
_deflate64Mode(deflate64Mode),
^
1 warning generated.
[ 7% 7796/97665] target arm C++: lib7...p/CPP/7zip/Compress/DeflateEncoder.cpp
external/p7zip/CPP/7zip/Compress/DeflateEncoder.cpp:126:3: warning: field 'm_Deflate64Mode' will be initialized after field 'm_OnePosMatchesMemory' [-Wreorder]
m_Deflate64Mode(deflate64Mode),
^
external/p7zip/CPP/7zip/Compress/DeflateEncoder.cpp:129:3: warning: field 'm_Created' will be initialized after field 'm_Values' [-Wreorder]
m_Created(false),
^
external/p7zip/CPP/7zip/Compress/DeflateEncoder.cpp:630:83: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (m_Pos >= kMatchArrayLimit || BlockSizeRes >= blockSize || !m_SecondPass &&
~~ ~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/Compress/DeflateEncoder.cpp:630:83: note: place parentheses around the '&&' expression to silence this warning
if (m_Pos >= kMatchArrayLimit || BlockSizeRes >= blockSize || !m_SecondPass &&
^
3 warnings generated.
[ 7% 7798/97665] target arm C++: lib7...zip/CPP/7zip/Compress/Lzma2Decoder.cpp
external/p7zip/CPP/7zip/Compress/Lzma2Decoder.cpp:31:5: warning: field '_outStepSize' will be initialized after field '_outSizeDefined' [-Wreorder]
_outStepSize(1 << 22),
^
external/p7zip/CPP/7zip/Compress/Lzma2Decoder.cpp:32:5: warning: field '_outSizeDefined' will be initialized after field '_finishMode' [-Wreorder]
_outSizeDefined(false),
^
external/p7zip/CPP/7zip/Compress/Lzma2Decoder.cpp:145:43: warning: '&&' within '||' [-Wlogical-op-parentheses]
bool finished = (inSizeProcessed == 0 && outSizeProcessed == 0
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Compress/Lzma2Decoder.cpp:145:43: note: place parentheses around the '&&' expression to silence this warning
bool finished = (inSizeProcessed == 0 && outSizeProcessed == 0
^
( )
3 warnings generated.
[ 7% 7805/97665] target arm C++: lib7...p7zip/CPP/7zip/Compress/LzxDecoder.cpp
In file included from external/p7zip/CPP/7zip/Compress/LzxDecoder.cpp:18:
external/p7zip/CPP/7zip/Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
external/p7zip/CPP/7zip/Compress/LzxDecoder.cpp:66:5: warning: field '_keepHistory' will be initialized after field '_skipByte' [-Wreorder]
_keepHistory(false),
^
external/p7zip/CPP/7zip/Compress/LzxDecoder.cpp:69:5: warning: field '_numDictBits' will be initialized after field '_unpackBlockSize' [-Wreorder]
_numDictBits(15),
^
external/p7zip/CPP/7zip/Compress/LzxDecoder.cpp:72:5: warning: field '_x86_translationSize' will be initialized after field 'KeepHistoryForNext' [-Wreorder]
_x86_translationSize(0),
^
4 warnings generated.
[ 7% 7806/97665] target arm C++: lib7...7zip/CPP/7zip/Compress/LzmsDecoder.cpp
In file included from external/p7zip/CPP/7zip/Compress/LzmsDecoder.cpp:8:
external/p7zip/CPP/7zip/Compress/LzmsDecoder.h:266:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetUnpackSize() const { return _pos; }
^~~~~~
external/p7zip/CPP/7zip/Compress/LzmsDecoder.cpp:543:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
_rc.cur == _bs._buf && _bs._bitPos != 0)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Compress/LzmsDecoder.cpp:543:27: note: place parentheses around the '&&' expression to silence this warning
_rc.cur == _bs._buf && _bs._bitPos != 0)
^
( )
2 warnings generated.
[ 8% 7835/97665] target arm C++: lib7...ternal/p7zip/CPP/Common/NewHandler.cpp
external/p7zip/CPP/Common/NewHandler.cpp:27:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch]
void operator delete(void *pnt)
^
external/p7zip/CPP/Common/NewHandler.cpp:33:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch]
void operator delete[](void *pnt)
^
2 warnings generated.
[ 8% 7837/97665] target arm C++: lib7...<= external/p7zip/CPP/Common/MyXml.cpp
external/p7zip/CPP/Common/MyXml.cpp:10:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
c >= 'a' && c <= 'z' ||
~~~~~~~~~^~~~~~~~~~~ ~~
external/p7zip/CPP/Common/MyXml.cpp:10:14: note: place parentheses around the '&&' expression to silence this warning
c >= 'a' && c <= 'z' ||
^
( )
external/p7zip/CPP/Common/MyXml.cpp:11:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
c >= 'A' && c <= 'Z' ||
~~~~~~~~~^~~~~~~~~~~
external/p7zip/CPP/Common/MyXml.cpp:11:14: note: place parentheses around the '&&' expression to silence this warning
c >= 'A' && c <= 'Z' ||
^
( )
external/p7zip/CPP/Common/MyXml.cpp:12:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
c >= '0' && c <= '9' ||
~~~~~~~~~^~~~~~~~~~~
external/p7zip/CPP/Common/MyXml.cpp:12:14: note: place parentheses around the '&&' expression to silence this warning
c >= '0' && c <= '9' ||
^
( )
3 warnings generated.
[ 8% 7839/97665] target arm C++: lib7...nal/p7zip/CPP/Common/StringConvert.cpp
external/p7zip/CPP/Common/StringConvert.cpp:96:65: warning: unused parameter 'codePage' [-Wunused-parameter]
UString MultiByteToUnicodeString(const AString &srcString, UINT codePage)
^
external/p7zip/CPP/Common/StringConvert.cpp:106:21: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i < srcString.Len(); i++)
~ ^ ~~~~~~~~~~~~~~~
external/p7zip/CPP/Common/StringConvert.cpp:112:65: warning: unused parameter 'codePage' [-Wunused-parameter]
AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage)
^
external/p7zip/CPP/Common/StringConvert.cpp:122:21: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i < srcString.Len(); i++)
~ ^ ~~~~~~~~~~~~~~~
4 warnings generated.
[ 8% 7844/97665] target arm C++: lib7...xternal/p7zip/CPP/Windows/FileFind.cpp
external/p7zip/CPP/Windows/FileFind.cpp:34:22: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
} else if ((pos+1) < p_path.Len()) {
~~~~~ ^ ~~~~~~~~~~~~
external/p7zip/CPP/Windows/FileFind.cpp:71:22: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
} else if ((pos+1) < p_path.Len()) {
~~~~~ ^ ~~~~~~~~~~~~
2 warnings generated.
[ 8% 7845/97665] target arm C++: lib7...external/p7zip/CPP/Common/Wildcard.cpp
In file included from external/p7zip/CPP/Common/Wildcard.cpp:5:
external/p7zip/CPP/Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
external/p7zip/CPP/Common/Wildcard.cpp:463:58: warning: '&&' within '||' [-Wlogical-op-parentheses]
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
~~~~~~~~~^~~~~~~~~~~ ~~
external/p7zip/CPP/Common/Wildcard.cpp:463:58: note: place parentheses around the '&&' expression to silence this warning
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
^
( )
external/p7zip/CPP/Common/Wildcard.cpp:463:82: warning: '&&' within '||' [-Wlogical-op-parentheses]
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
~~ ~~~~~~~~~^~~~~~~~~~~
external/p7zip/CPP/Common/Wildcard.cpp:463:82: note: place parentheses around the '&&' expression to silence this warning
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
^
( )
external/p7zip/CPP/Common/Wildcard.cpp:586:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
external/p7zip/CPP/Common/Wildcard.cpp:611:54: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (pathParts.IsEmpty() || pathParts.Size() == 1 && pathParts[0].IsEmpty())
~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/Common/Wildcard.cpp:611:54: note: place parentheses around the '&&' expression to silence this warning
if (pathParts.IsEmpty() || pathParts.Size() == 1 && pathParts[0].IsEmpty())
^
( )
5 warnings generated.
[ 8% 7846/97665] target arm C++: lib7...external/p7zip/CPP/Windows/FileDir.cpp
external/p7zip/CPP/Windows/FileDir.cpp:502:22: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if (pos > 0 && pos == pathName.Len() - 1)
~~~ ^ ~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/Windows/FileDir.cpp:535:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
while (pos < pathName.Len())
~~~ ^ ~~~~~~~~~~~~~~
2 warnings generated.
[ 8% 7847/97665] target arm C++: lib7... external/p7zip/CPP/Windows/FileIO.cpp
external/p7zip/CPP/Windows/FileIO.cpp:47:11: warning: unused parameter 'dwShareMode' [-Wunused-parameter]
DWORD dwShareMode, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes,bool ignoreSymbolicLink)
^
external/p7zip/CPP/Windows/FileIO.cpp:47:59: warning: unused parameter 'dwFlagsAndAttributes' [-Wunused-parameter]
DWORD dwShareMode, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes,bool ignoreSymbolicLink)
^
external/p7zip/CPP/Windows/FileIO.cpp:113:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i < ustr.Len(); i++)
~ ^ ~~~~~~~~~~
external/p7zip/CPP/Windows/FileIO.cpp:318:13: warning: comparison of integers of different signs: 'int' and 'UINT32' (aka 'unsigned int') [-Wsign-compare]
if (len > bytesToRead) len = bytesToRead;
~~~ ^ ~~~~~~~~~~~
external/p7zip/CPP/Windows/FileIO.cpp:368:40: warning: unused parameter 'cTime' [-Wunused-parameter]
bool COutFile::SetTime(const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime) throw()
^
5 warnings generated.
[ 8% 7848/97665] target arm C++: lib7...xternal/p7zip/CPP/Windows/FileName.cpp
In file included from external/p7zip/CPP/Windows/FileName.cpp:6:
external/p7zip/CPP/Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
1 warning generated.
[ 8% 7854/97665] target arm C++: lib7...ternal/p7zip/CPP/Windows/TimeUtils.cpp
external/p7zip/CPP/Windows/TimeUtils.cpp:127:16: warning: comparison of integers of different signs: 'Int64' (aka 'long long') and 'unsigned long long' [-Wsign-compare]
if (unixTime > kNumSecondsInFileTime - kUnixTimeOffset)
~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 8% 7859/97665] target arm C: lib7z_32 <= external/p7zip/C/Alloc.c
external/p7zip/C/Alloc.c:262:88: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
if (g_HugetlbPath == NULL || (size = pathconf(g_HugetlbPath, _PC_REC_MIN_XFER_SIZE)) <= getpagesize())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
1 warning generated.
[ 8% 7937/97665] target thumb C: libF...src/b_BitFeatureEm/LocalScanDetector.c
external/neven/Embedded/common/src/b_BitFeatureEm/LocalScanDetector.c:678:81: warning: for loop has empty body [-Wempty-body]
for( iL = ( sizeL >> 1 ); iL < sizeL && actArrL[ idxArrL[ iL ] ] >= 0; iL++ );
^
external/neven/Embedded/common/src/b_BitFeatureEm/LocalScanDetector.c:678:81: note: put the semicolon on a separate line to silence this warning
1 warning generated.
[ 8% 7984/97665] target thumb C: libF...ven/FaceRecEm/common/src/b_FDSDK/SDK.c
external/neven/FaceRecEm/common/src/b_FDSDK/SDK.c:209:42: warning: implicit conversion from enumeration type 'btk_Status' to different enumeration type 'btk_Error' [-Wenum-conversion]
if( hsdkA->hidE != btk_HID_SDK ) return btk_STATUS_INVALID_HANDLE;
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 9% 9037/97665] target C++: lib7z <.../p7zip/CPP/7zip/Archive/ComHandler.cpp
external/p7zip/CPP/7zip/Archive/ComHandler.cpp:586:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (msiName.Len() >= 4 && StringsAreEqualNoCase_Ascii(msiName.RightPtr(4), ".cab")
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/ComHandler.cpp:586:30: note: place parentheses around the '&&' expression to silence this warning
if (msiName.Len() >= 4 && StringsAreEqualNoCase_Ascii(msiName.RightPtr(4), ".cab")
^
( )
external/p7zip/CPP/7zip/Archive/ComHandler.cpp:587:47: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| !isMsiSpec && msiName.Len() >= 3 && StringsAreEqualNoCase_Ascii(msiName.RightPtr(3), "exe")
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/ComHandler.cpp:587:47: note: place parentheses around the '&&' expression to silence this warning
|| !isMsiSpec && msiName.Len() >= 3 && StringsAreEqualNoCase_Ascii(msiName.RightPtr(3), "exe")
^
( )
2 warnings generated.
[ 9% 9041/97665] target C++: lib7z <...PP/7zip/Archive/Common/CoderMixer2.cpp
In file included from external/p7zip/CPP/7zip/Archive/Common/CoderMixer2.cpp:3:
In file included from external/p7zip/CPP/myWindows/StdAfx.h:20:
In file included from external/p7zip/CPP/7zip/Archive/Common/../../Common/../../Common/MyString.h:23:
external/p7zip/CPP/7zip/Archive/Common/../../../Common/MyVector.h:491:7: warning: delete called on non-final 'NCoderMixer2::CCoderMT' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete (T *)_v[--i];
^
external/p7zip/CPP/7zip/Archive/Common/CoderMixer2.h:402:7: note: in instantiation of member function 'CObjectVector<NCoderMixer2::CCoderMT>::~CObjectVector' requested here
class CMixerMT:
^
1 warning generated.
[ 9% 9043/97665] target C++: lib7z <.../7zip/Archive/Common/ItemNameUtils.cpp
external/p7zip/CPP/7zip/Archive/Common/ItemNameUtils.cpp:13:40: warning: unused parameter 's' [-Wunused-parameter]
void ReplaceToOsPathSeparator(wchar_t *s)
^
1 warning generated.
[ 9% 9051/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/CpioHandler.cpp
external/p7zip/CPP/7zip/Archive/CpioHandler.cpp:221:25: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
for (int i = 6; i < k_OctRecord_Size; i++)
~ ^ ~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/CpioHandler.cpp:234:25: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
for (int i = 6; i < k_HexRecord_Size; i++)
~ ^ ~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/CpioHandler.cpp:461:15: warning: enumeration value 'k_ErrorType_OK' not handled in switch [-Wswitch]
switch (_error)
^
3 warnings generated.
[ 9% 9055/97665] target C++: lib7z <.../p7zip/CPP/7zip/Archive/ExtHandler.cpp
external/p7zip/CPP/7zip/Archive/ExtHandler.cpp:864:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const int GetParentAux(const CItem &item) const
^~~~~~
1 warning generated.
[ 9% 9060/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/IhexHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/IhexHandler.cpp:8:
external/p7zip/CPP/7zip/Archive/../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
1 warning generated.
[ 9% 9070/97665] target C++: lib7z <.../p7zip/CPP/7zip/Archive/MubHandler.cpp
external/p7zip/CPP/7zip/Archive/MubHandler.cpp:124:42: warning: '&&' within '||' [-Wlogical-op-parentheses]
item.Type != MACH_CPU_TYPE_386 &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/Archive/MubHandler.cpp:124:42: note: place parentheses around the '&&' expression to silence this warning
item.Type != MACH_CPU_TYPE_386 &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
1 warning generated.
[ 9% 9074/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/Nsis/NsisIn.cpp
external/p7zip/CPP/7zip/Archive/Nsis/NsisIn.cpp:2805:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
s[0] == WCHAR_PATH_SEPARATOR &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/Archive/Nsis/NsisIn.cpp:2805:36: note: place parentheses around the '&&' expression to silence this warning
s[0] == WCHAR_PATH_SEPARATOR &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/Archive/Nsis/NsisIn.cpp:2813:35: warning: '&&' within '||' [-Wlogical-op-parentheses]
s[0] == CHAR_PATH_SEPARATOR &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/Archive/Nsis/NsisIn.cpp:2813:35: note: place parentheses around the '&&' expression to silence this warning
s[0] == CHAR_PATH_SEPARATOR &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
2 warnings generated.
[ 9% 9077/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/NtfsHandler.cpp
external/p7zip/CPP/7zip/Archive/NtfsHandler.cpp:2160:31: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
if (rec.SiAttr.SecurityId >= 0)
~~~~~~~~~~~~~~~~~~~~~ ^ ~
1 warning generated.
[ 9% 9078/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/QcowHandler.cpp
external/p7zip/CPP/7zip/Archive/QcowHandler.cpp:66:11: warning: 'NArchive::NQcow::CHandler::Seek' hides overloaded virtual function [-Woverloaded-virtual]
HRESULT Seek(UInt64 offset)
^
external/p7zip/CPP/7zip/Archive/HandlerCont.h:104:13: note: hidden overloaded virtual function 'NArchive::CHandlerImg::Seek' declared here: different number of parameters (3 vs 1)
STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
^
1 warning generated.
[ 9% 9080/97665] target C++: lib7z <...l/p7zip/CPP/7zip/Archive/PeHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/PeHandler.cpp:9:
external/p7zip/CPP/7zip/Archive/../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
external/p7zip/CPP/7zip/Archive/PeHandler.cpp:350:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetSizeExtract() const { return PSize; }
^~~~~~
external/p7zip/CPP/7zip/Archive/PeHandler.cpp:351:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetSizeMin() const { return MyMin(PSize, VSize); }
^~~~~~
external/p7zip/CPP/7zip/Archive/PeHandler.cpp:1916:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
4 warnings generated.
[ 9% 9083/97665] target C++: lib7z <...p/CPP/7zip/Archive/Rar/Rar5Handler.cpp
external/p7zip/CPP/7zip/Archive/Rar/Rar5Handler.cpp:1001:9: warning: explicitly assigning value of variable of type 'LONG' (aka 'int') to itself [-Wself-assign]
res = res;
~~~ ^ ~~~
1 warning generated.
[ 9% 9086/97665] target C++: lib7z <...ip/CPP/7zip/Archive/Tar/TarHandler.cpp
external/p7zip/CPP/7zip/Archive/Tar/TarHandler.cpp:66:20: warning: enumeration value 'k_ErrorType_OK' not handled in switch [-Wswitch]
else switch (_error)
^
1 warning generated.
[ 9% 9094/97665] target C++: lib7z <.../p7zip/CPP/7zip/Archive/VdiHandler.cpp
external/p7zip/CPP/7zip/Archive/VdiHandler.cpp:55:11: warning: 'NArchive::NVdi::CHandler::Seek' hides overloaded virtual function [-Woverloaded-virtual]
HRESULT Seek(UInt64 offset)
^
external/p7zip/CPP/7zip/Archive/HandlerCont.h:104:13: note: hidden overloaded virtual function 'NArchive::CHandlerImg::Seek' declared here: different number of parameters (3 vs 1)
STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
^
1 warning generated.
[ 9% 9095/97665] target C++: lib7z <...l/p7zip/CPP/7zip/Archive/Udf/UdfIn.cpp
external/p7zip/CPP/7zip/Archive/Udf/UdfIn.cpp:578:16: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
if (_numRefs >= kNumRefsMax)
~~~~~~~~ ^ ~~~~~~~~~~~
1 warning generated.
[ 9% 9096/97665] target C++: lib7z <...p7zip/CPP/7zip/Archive/UefiHandler.cpp
external/p7zip/CPP/7zip/Archive/UefiHandler.cpp:360:19: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
for (i = 4; i < kGuidSize; i++)
~ ^ ~~~~~~~~~
external/p7zip/CPP/7zip/Archive/UefiHandler.cpp:453:19: warning: comparison of integers of different signs: 'int' and 'const UInt32' (aka 'const unsigned int') [-Wsign-compare]
for (i = 0; i < kFileHeaderSize; i++)
~ ^ ~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/UefiHandler.cpp:1182:13: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
if (level > kLevelMax)
~~~~~ ^ ~~~~~~~~~
3 warnings generated.
[ 9% 9097/97665] target C++: lib7z <.../p7zip/CPP/7zip/Archive/VhdHandler.cpp
external/p7zip/CPP/7zip/Archive/VhdHandler.cpp:250:11: warning: 'NArchive::NVhd::CHandler::Seek' hides overloaded virtual function [-Woverloaded-virtual]
HRESULT Seek(UInt64 offset);
^
external/p7zip/CPP/7zip/Archive/HandlerCont.h:104:13: note: hidden overloaded virtual function 'NArchive::CHandlerImg::Seek' declared here: different number of parameters (3 vs 1)
STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
^
1 warning generated.
[ 9% 9099/97665] target C++: lib7z <...ip/CPP/7zip/Archive/Wim/WimHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp:14:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:14:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzmsDecoder.h:266:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetUnpackSize() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp:14:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:15:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
external/p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp:308:21: warning: incrementing expression of type bool is deprecated and incompatible with C++1z [-Wdeprecated-increment-bool]
numMethods++;
~~~~~~~~~~^
external/p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp:318:19: warning: incrementing expression of type bool is deprecated and incompatible with C++1z [-Wdeprecated-increment-bool]
numMethods++;
~~~~~~~~~~^
4 warnings generated.
[ 9% 9100/97665] target C++: lib7z <...p/CPP/7zip/Archive/Wim/WimRegister.cpp
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:14:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzmsDecoder.h:266:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetUnpackSize() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:15:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
2 warnings generated.
[ 9% 9101/97665] target C++: lib7z <.../p7zip/CPP/7zip/Archive/XarHandler.cpp
external/p7zip/CPP/7zip/Archive/XarHandler.cpp:87:7: warning: field 'Parent' will be initialized after field 'Size' [-Wreorder]
Parent(-1),
^
external/p7zip/CPP/7zip/Archive/XarHandler.cpp:258:23: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
if (s.Len() >= 0)
~~~~~~~ ^ ~
2 warnings generated.
[ 9% 9102/97665] target C++: lib7z <...CPP/7zip/Archive/Wim/WimHandlerOut.cpp
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:9:
external/p7zip/CPP/7zip/Archive/Wim/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:17:
external/p7zip/CPP/7zip/Archive/Wim/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/Wim/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:22:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:14:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzmsDecoder.h:266:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetUnpackSize() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:22:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimHandler.h:8:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:15:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:96:48: warning: field 'SecurityId' will be initialized after field 'FileID' [-Wreorder]
CMetaItem(): UpdateIndex(-1), HashIndex(-1), SecurityId(-1),
^
external/p7zip/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:1841:18: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if ((int)i < _oldXml.Images.Size())
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
[ 9% 9103/97665] target C++: lib7z <...l/p7zip/CPP/7zip/Archive/Wim/WimIn.cpp
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.cpp:28:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:14:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzmsDecoder.h:266:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetUnpackSize() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.cpp:28:
In file included from external/p7zip/CPP/7zip/Archive/Wim/WimIn.h:15:
external/p7zip/CPP/7zip/Archive/Wim/../../Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
2 warnings generated.
[ 9% 9108/97665] target C++: lib7z <...ip/CPP/7zip/Archive/Zip/ZipHandler.cpp
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.cpp:35:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:6:
external/p7zip/CPP/7zip/Archive/Zip/../../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.cpp:35:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:12:
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.h:280:31: warning: field 'Callback' will be initialized after field 'IsArcOpen' [-Wreorder]
CInArchive(): Stream(NULL), Callback(NULL), IsArcOpen(false) {}
^
2 warnings generated.
[ 9% 9110/97665] target C++: lib7z <...CPP/7zip/Archive/Zip/ZipHandlerOut.cpp
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandlerOut.cpp:21:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:6:
external/p7zip/CPP/7zip/Archive/Zip/../../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandlerOut.cpp:21:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:12:
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.h:280:31: warning: field 'Callback' will be initialized after field 'IsArcOpen' [-Wreorder]
CInArchive(): Stream(NULL), Callback(NULL), IsArcOpen(false) {}
^
2 warnings generated.
[ 9% 9111/97665] target C++: lib7z <...l/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:7:
external/p7zip/CPP/7zip/Archive/Zip/../../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:17:
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.h:280:31: warning: field 'Callback' will be initialized after field 'IsArcOpen' [-Wreorder]
CInArchive(): Stream(NULL), Callback(NULL), IsArcOpen(false) {}
^
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:1370:48: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (items.IsEmpty() || items.Size() == 1 && IsStrangeItem(items[0]))
~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:1370:48: note: place parentheses around the '&&' expression to silence this warning
if (items.IsEmpty() || items.Size() == 1 && IsStrangeItem(items[0]))
^
( )
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:2012:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (ecd64.ThisDisk == 0 && ecd64AbsOffset != ArcInfo.Base + locator.Ecd64Offset
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:2012:29: note: place parentheses around the '&&' expression to silence this warning
if (ecd64.ThisDisk == 0 && ecd64AbsOffset != ArcInfo.Base + locator.Ecd64Offset
^
( )
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp:1962:16: warning: comparison of integers of different signs: 'UInt32' (aka 'unsigned int') and 'int' [-Wsign-compare]
if (cdDisk != (int)ecd64.CdDisk)
~~~~~~ ^ ~~~~~~~~~~~~~~~~~
5 warnings generated.
[ 9% 9113/97665] target C++: lib7z <...p/CPP/7zip/Archive/Zip/ZipRegister.cpp
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:6:
external/p7zip/CPP/7zip/Archive/Zip/../../../Common/DynamicBuffer.h:57:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetPos() const { return _pos; }
^~~~~~
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipRegister.cpp:7:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipHandler.h:12:
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.h:280:31: warning: field 'Callback' will be initialized after field 'IsArcOpen' [-Wreorder]
CInArchive(): Stream(NULL), Callback(NULL), IsArcOpen(false) {}
^
2 warnings generated.
[ 9% 9124/97665] target C++: lib7z <...zip/CPP/7zip/Archive/Zip/ZipUpdate.cpp
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipUpdate.cpp:27:
In file included from external/p7zip/CPP/7zip/Archive/Zip/ZipUpdate.h:12:
external/p7zip/CPP/7zip/Archive/Zip/ZipIn.h:280:31: warning: field 'Callback' will be initialized after field 'IsArcOpen' [-Wreorder]
CInArchive(): Stream(NULL), Callback(NULL), IsArcOpen(false) {}
^
1 warning generated.
[ 9% 9132/97665] target C++: lib7z <...l/p7zip/CPP/7zip/Common/UniqBlocks.cpp
In file included from external/p7zip/CPP/7zip/Common/UniqBlocks.cpp:7:
external/p7zip/CPP/7zip/Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
1 warning generated.
[ 9% 9135/97665] target C++: lib7z <...ip/CPP/7zip/Compress/BZip2Register.cpp
In file included from external/p7zip/CPP/7zip/Compress/BZip2Register.cpp:9:
external/p7zip/CPP/7zip/Compress/BZip2Encoder.h:140:18: warning: field 'm_BlockSorterIndex' will be initialized after field 'm_Block' [-Wreorder]
CThreadInfo(): m_BlockSorterIndex(0), m_Block(0) {}
^
1 warning generated.
[ 9% 9140/97665] target C++: lib7z <...zip/CPP/7zip/Compress/BZip2Encoder.cpp
In file included from external/p7zip/CPP/7zip/Compress/BZip2Encoder.cpp:10:
external/p7zip/CPP/7zip/Compress/BZip2Encoder.h:140:18: warning: field 'm_BlockSorterIndex' will be initialized after field 'm_Block' [-Wreorder]
CThreadInfo(): m_BlockSorterIndex(0), m_Block(0) {}
^
1 warning generated.
[ 9% 9154/97665] target C++: lib7z <...p/CPP/7zip/Compress/DeflateDecoder.cpp
external/p7zip/CPP/7zip/Compress/DeflateDecoder.cpp:12:5: warning: field '_deflate64Mode' will be initialized after field '_deflateNSIS' [-Wreorder]
_deflate64Mode(deflate64Mode),
^
1 warning generated.
[ 9% 9158/97665] target C++: lib7z <...p/CPP/7zip/Compress/DeflateEncoder.cpp
external/p7zip/CPP/7zip/Compress/DeflateEncoder.cpp:126:3: warning: field 'm_Deflate64Mode' will be initialized after field 'm_OnePosMatchesMemory' [-Wreorder]
m_Deflate64Mode(deflate64Mode),
^
external/p7zip/CPP/7zip/Compress/DeflateEncoder.cpp:129:3: warning: field 'm_Created' will be initialized after field 'm_Values' [-Wreorder]
m_Created(false),
^
external/p7zip/CPP/7zip/Compress/DeflateEncoder.cpp:630:83: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (m_Pos >= kMatchArrayLimit || BlockSizeRes >= blockSize || !m_SecondPass &&
~~ ~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/Compress/DeflateEncoder.cpp:630:83: note: place parentheses around the '&&' expression to silence this warning
if (m_Pos >= kMatchArrayLimit || BlockSizeRes >= blockSize || !m_SecondPass &&
^
3 warnings generated.
[ 9% 9160/97665] target C++: lib7z <...zip/CPP/7zip/Compress/Lzma2Decoder.cpp
external/p7zip/CPP/7zip/Compress/Lzma2Decoder.cpp:31:5: warning: field '_outStepSize' will be initialized after field '_outSizeDefined' [-Wreorder]
_outStepSize(1 << 22),
^
external/p7zip/CPP/7zip/Compress/Lzma2Decoder.cpp:32:5: warning: field '_outSizeDefined' will be initialized after field '_finishMode' [-Wreorder]
_outSizeDefined(false),
^
external/p7zip/CPP/7zip/Compress/Lzma2Decoder.cpp:145:43: warning: '&&' within '||' [-Wlogical-op-parentheses]
bool finished = (inSizeProcessed == 0 && outSizeProcessed == 0
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Compress/Lzma2Decoder.cpp:145:43: note: place parentheses around the '&&' expression to silence this warning
bool finished = (inSizeProcessed == 0 && outSizeProcessed == 0
^
( )
3 warnings generated.
[ 9% 9168/97665] target C++: lib7z <...p7zip/CPP/7zip/Compress/LzxDecoder.cpp
In file included from external/p7zip/CPP/7zip/Compress/LzxDecoder.cpp:18:
external/p7zip/CPP/7zip/Compress/LzxDecoder.h:241:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt32 GetUnpackSize() const { return _pos - _writePos; }
^~~~~~
external/p7zip/CPP/7zip/Compress/LzxDecoder.cpp:66:5: warning: field '_keepHistory' will be initialized after field '_skipByte' [-Wreorder]
_keepHistory(false),
^
external/p7zip/CPP/7zip/Compress/LzxDecoder.cpp:69:5: warning: field '_numDictBits' will be initialized after field '_unpackBlockSize' [-Wreorder]
_numDictBits(15),
^
external/p7zip/CPP/7zip/Compress/LzxDecoder.cpp:72:5: warning: field '_x86_translationSize' will be initialized after field 'KeepHistoryForNext' [-Wreorder]
_x86_translationSize(0),
^
4 warnings generated.
[ 9% 9169/97665] target C++: lib7z <...7zip/CPP/7zip/Compress/LzmsDecoder.cpp
In file included from external/p7zip/CPP/7zip/Compress/LzmsDecoder.cpp:8:
external/p7zip/CPP/7zip/Compress/LzmsDecoder.h:266:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const size_t GetUnpackSize() const { return _pos; }
^~~~~~
external/p7zip/CPP/7zip/Compress/LzmsDecoder.cpp:543:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
_rc.cur == _bs._buf && _bs._bitPos != 0)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Compress/LzmsDecoder.cpp:543:27: note: place parentheses around the '&&' expression to silence this warning
_rc.cur == _bs._buf && _bs._bitPos != 0)
^
( )
2 warnings generated.
[ 9% 9197/97665] target C++: lib7z <...ternal/p7zip/CPP/Common/NewHandler.cpp
external/p7zip/CPP/Common/NewHandler.cpp:27:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch]
void operator delete(void *pnt)
^
external/p7zip/CPP/Common/NewHandler.cpp:33:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch]
void operator delete[](void *pnt)
^
2 warnings generated.
[ 9% 9200/97665] target C++: lib7z <= external/p7zip/CPP/Common/MyXml.cpp
external/p7zip/CPP/Common/MyXml.cpp:10:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
c >= 'a' && c <= 'z' ||
~~~~~~~~~^~~~~~~~~~~ ~~
external/p7zip/CPP/Common/MyXml.cpp:10:14: note: place parentheses around the '&&' expression to silence this warning
c >= 'a' && c <= 'z' ||
^
( )
external/p7zip/CPP/Common/MyXml.cpp:11:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
c >= 'A' && c <= 'Z' ||
~~~~~~~~~^~~~~~~~~~~
external/p7zip/CPP/Common/MyXml.cpp:11:14: note: place parentheses around the '&&' expression to silence this warning
c >= 'A' && c <= 'Z' ||
^
( )
external/p7zip/CPP/Common/MyXml.cpp:12:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
c >= '0' && c <= '9' ||
~~~~~~~~~^~~~~~~~~~~
external/p7zip/CPP/Common/MyXml.cpp:12:14: note: place parentheses around the '&&' expression to silence this warning
c >= '0' && c <= '9' ||
^
( )
3 warnings generated.
[ 9% 9204/97665] target C++: lib7z <...nal/p7zip/CPP/Common/StringConvert.cpp
external/p7zip/CPP/Common/StringConvert.cpp:96:65: warning: unused parameter 'codePage' [-Wunused-parameter]
UString MultiByteToUnicodeString(const AString &srcString, UINT codePage)
^
external/p7zip/CPP/Common/StringConvert.cpp:106:21: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i < srcString.Len(); i++)
~ ^ ~~~~~~~~~~~~~~~
external/p7zip/CPP/Common/StringConvert.cpp:112:65: warning: unused parameter 'codePage' [-Wunused-parameter]
AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage)
^
external/p7zip/CPP/Common/StringConvert.cpp:122:21: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i < srcString.Len(); i++)
~ ^ ~~~~~~~~~~~~~~~
4 warnings generated.
[ 9% 9207/97665] target C++: lib7z <...xternal/p7zip/CPP/Windows/FileFind.cpp
external/p7zip/CPP/Windows/FileFind.cpp:34:22: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
} else if ((pos+1) < p_path.Len()) {
~~~~~ ^ ~~~~~~~~~~~~
external/p7zip/CPP/Windows/FileFind.cpp:71:22: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
} else if ((pos+1) < p_path.Len()) {
~~~~~ ^ ~~~~~~~~~~~~
2 warnings generated.
[ 9% 9208/97665] target C++: lib7z <= external/p7zip/CPP/Windows/FileIO.cpp
external/p7zip/CPP/Windows/FileIO.cpp:47:11: warning: unused parameter 'dwShareMode' [-Wunused-parameter]
DWORD dwShareMode, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes,bool ignoreSymbolicLink)
^
external/p7zip/CPP/Windows/FileIO.cpp:47:59: warning: unused parameter 'dwFlagsAndAttributes' [-Wunused-parameter]
DWORD dwShareMode, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes,bool ignoreSymbolicLink)
^
external/p7zip/CPP/Windows/FileIO.cpp:113:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i < ustr.Len(); i++)
~ ^ ~~~~~~~~~~
external/p7zip/CPP/Windows/FileIO.cpp:318:13: warning: comparison of integers of different signs: 'int' and 'UINT32' (aka 'unsigned int') [-Wsign-compare]
if (len > bytesToRead) len = bytesToRead;
~~~ ^ ~~~~~~~~~~~
external/p7zip/CPP/Windows/FileIO.cpp:368:40: warning: unused parameter 'cTime' [-Wunused-parameter]
bool COutFile::SetTime(const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime) throw()
^
5 warnings generated.
[ 9% 9209/97665] target C++: lib7z <...external/p7zip/CPP/Windows/FileDir.cpp
external/p7zip/CPP/Windows/FileDir.cpp:502:22: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if (pos > 0 && pos == pathName.Len() - 1)
~~~ ^ ~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/Windows/FileDir.cpp:535:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
while (pos < pathName.Len())
~~~ ^ ~~~~~~~~~~~~~~
2 warnings generated.
[ 9% 9210/97665] target C++: lib7z <...external/p7zip/CPP/Common/Wildcard.cpp
In file included from external/p7zip/CPP/Common/Wildcard.cpp:5:
external/p7zip/CPP/Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
external/p7zip/CPP/Common/Wildcard.cpp:463:58: warning: '&&' within '||' [-Wlogical-op-parentheses]
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
~~~~~~~~~^~~~~~~~~~~ ~~
external/p7zip/CPP/Common/Wildcard.cpp:463:58: note: place parentheses around the '&&' expression to silence this warning
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
^
( )
external/p7zip/CPP/Common/Wildcard.cpp:463:82: warning: '&&' within '||' [-Wlogical-op-parentheses]
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
~~ ~~~~~~~~~^~~~~~~~~~~
external/p7zip/CPP/Common/Wildcard.cpp:463:82: note: place parentheses around the '&&' expression to silence this warning
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
^
( )
external/p7zip/CPP/Common/Wildcard.cpp:586:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
external/p7zip/CPP/Common/Wildcard.cpp:611:54: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (pathParts.IsEmpty() || pathParts.Size() == 1 && pathParts[0].IsEmpty())
~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/Common/Wildcard.cpp:611:54: note: place parentheses around the '&&' expression to silence this warning
if (pathParts.IsEmpty() || pathParts.Size() == 1 && pathParts[0].IsEmpty())
^
( )
5 warnings generated.
[ 9% 9211/97665] target C++: lib7z <...xternal/p7zip/CPP/Windows/FileName.cpp
In file included from external/p7zip/CPP/Windows/FileName.cpp:6:
external/p7zip/CPP/Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
1 warning generated.
[ 9% 9220/97665] target C++: lib7z <...ternal/p7zip/CPP/Windows/TimeUtils.cpp
external/p7zip/CPP/Windows/TimeUtils.cpp:127:16: warning: comparison of integers of different signs: 'Int64' (aka 'long long') and 'unsigned long long' [-Wsign-compare]
if (unixTime > kNumSecondsInFileTime - kUnixTimeOffset)
~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 9% 9224/97665] target C: lib7z <= external/p7zip/C/Alloc.c
external/p7zip/C/Alloc.c:262:88: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (g_HugetlbPath == NULL || (size = pathconf(g_HugetlbPath, _PC_REC_MIN_XFER_SIZE)) <= getpagesize())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
1 warning generated.
[ 9% 9305/97665] target C: libFFTEm ...src/b_BitFeatureEm/LocalScanDetector.c
external/neven/Embedded/common/src/b_BitFeatureEm/LocalScanDetector.c:678:81: warning: for loop has empty body [-Wempty-body]
for( iL = ( sizeL >> 1 ); iL < sizeL && actArrL[ idxArrL[ iL ] ] >= 0; iL++ );
^
external/neven/Embedded/common/src/b_BitFeatureEm/LocalScanDetector.c:678:81: note: put the semicolon on a separate line to silence this warning
1 warning generated.
[ 9% 9348/97665] target C: libFFTEm ...ven/FaceRecEm/common/src/b_FDSDK/SDK.c
external/neven/FaceRecEm/common/src/b_FDSDK/SDK.c:209:42: warning: implicit conversion from enumeration type 'btk_Status' to different enumeration type 'btk_Error' [-Wenum-conversion]
if( hsdkA->hidE != btk_HID_SDK ) return btk_STATUS_INVALID_HANDLE;
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 9% 9513/97665] target C++: libaudi...8916/policy_hal/AudioPolicyManager.cpp
In file included from hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.cpp:64:
hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.h:72:26: warning: 'android::AudioPolicyManagerCustom::startInput' hides overloaded virtual function [-Woverloaded-virtual]
virtual status_t startInput(audio_io_handle_t input,
^
frameworks/av/services/audiopolicy/managerdefault/AudioPolicyManager.h:141:26: note: hidden overloaded virtual function 'android::AudioPolicyManager::startInput' declared here: different number of parameters (3 vs 2)
virtual status_t startInput(audio_io_handle_t input,
^
In file included from hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.cpp:64:
hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.h:92:18: warning: 'android::AudioPolicyManagerCustom::startSource' hides overloaded virtual function [-Woverloaded-virtual]
status_t startSource(const sp<AudioOutputDescriptor>& outputDesc,
^
frameworks/av/services/audiopolicy/managerdefault/AudioPolicyManager.h:487:26: note: hidden overloaded virtual function 'android::AudioPolicyManager::startSource' declared here: different number of parameters (5 vs 4)
virtual status_t startSource(const sp<AudioOutputDescriptor>& outputDesc,
^
hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.cpp:1287:69: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (flags == AUDIO_OUTPUT_FLAG_DIRECT || tryForDirectPCM(flags) &&
~~ ~~~~~~~~~~~~~~~~~~~~~~~^~
hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.cpp:1287:69: note: place parentheses around the '&&' expression to silence this warning
if (flags == AUDIO_OUTPUT_FLAG_DIRECT || tryForDirectPCM(flags) &&
^
hardware/qcom/audio-caf/msm8916/policy_hal/AudioPolicyManager.cpp:1639:51: warning: data argument not used by format string [-Wformat-extra-args]
mOutputs.keyAt(i), session);
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
4 warnings generated.
[ 9% 9627/97665] target C: libncurse...l/libncurses/ncurses/base/resizeterm.c
external/libncurses/ncurses/base/resizeterm.c:272:15: warning: unused parameter 'sp' [-Wunused-parameter]
decrease_size(NCURSES_SP_DCLx int ToLines, int ToCols, int stolen EXTRA_DCLS)
^
external/libncurses/ncurses/curses.priv.h:349:33: note: expanded from macro 'NCURSES_SP_DCLx'
#define NCURSES_SP_DCLx SCREEN *NCURSES_SP_ARGx
^
external/libncurses/ncurses/curses.priv.h:348:33: note: expanded from macro 'NCURSES_SP_ARGx'
#define NCURSES_SP_ARGx NCURSES_SP_ARG,
^
external/libncurses/ncurses/curses.priv.h:345:33: note: expanded from macro 'NCURSES_SP_ARG'
#define NCURSES_SP_ARG SP_PARM
^
external/libncurses/ncurses/curses.priv.h:344:25: note: expanded from macro 'SP_PARM'
#define SP_PARM sp /* use parameter */
^
external/libncurses/ncurses/base/resizeterm.c:306:15: warning: unused parameter 'sp' [-Wunused-parameter]
increase_size(NCURSES_SP_DCLx int ToLines, int ToCols, int stolen EXTRA_DCLS)
^
external/libncurses/ncurses/curses.priv.h:349:33: note: expanded from macro 'NCURSES_SP_DCLx'
#define NCURSES_SP_DCLx SCREEN *NCURSES_SP_ARGx
^
external/libncurses/ncurses/curses.priv.h:348:33: note: expanded from macro 'NCURSES_SP_ARGx'
#define NCURSES_SP_ARGx NCURSES_SP_ARG,
^
external/libncurses/ncurses/curses.priv.h:345:33: note: expanded from macro 'NCURSES_SP_ARG'
#define NCURSES_SP_ARG SP_PARM
^
external/libncurses/ncurses/curses.priv.h:344:25: note: expanded from macro 'SP_PARM'
#define SP_PARM sp /* use parameter */
^
2 warnings generated.
[ 9% 9638/97665] target C: libncurse... external/libncurses/ncurses/lib_gen.c
external/libncurses/ncurses/lib_gen.c:75:65: warning: unused parameter 'z' [-Wunused-parameter]
NCURSES_EXPORT(int) (attr_get) (attr_t * a1, short * a2, void * z)
^
external/libncurses/ncurses/lib_gen.c:93:61: warning: unused parameter 'z' [-Wunused-parameter]
NCURSES_EXPORT(int) (attr_set) (attr_t a1, short a2, void * z)
^
external/libncurses/ncurses/lib_gen.c:657:79: warning: unused parameter 'z' [-Wunused-parameter]
NCURSES_EXPORT(int) (wattr_get) (WINDOW * a1, attr_t * a2, short * a3, void * z)
^
external/libncurses/ncurses/lib_gen.c:663:75: warning: unused parameter 'z' [-Wunused-parameter]
NCURSES_EXPORT(int) (wattr_set) (WINDOW * a1, attr_t a2, short a3, void * z)
^
4 warnings generated.
[ 10% 9864/97665] Check module type: /.../APPS/Contacts_intermediates/link_type
packages/apps/Contacts/Android.mk: warning: Contacts (java:sdk) should not link to legacy-android-test (java:platform)
[ 10% 9968/97665] Check module type: /.../APPS/Gallery2_intermediates/link_type
packages/apps/Gallery2/Android.mk: warning: Gallery2 (java:sdk) should not link to android-support-transition-gallery (java:platform)
[ 10% 10047/97665] Check module type: ...APPS/Trebuchet_intermediates/link_type
packages/apps/Trebuchet/Android.mk: warning: Trebuchet (java:sdk) should not link to libGoogleFeed (java:platform)
[ 10% 10054/97665] Build hyb /home/use...phenation-patterns/bg//hyph-bg.pat.txt
51 unique nodes, 1758 total
[ 10% 10062/97665] Build hyb /home/use...ion-patterns/en-GB//hyph-en-gb.pat.txt
4348 unique nodes, 13922 total
[ 10% 10066/97665] Build hyb /home/use...ion-patterns/en-US//hyph-en-us.pat.txt
8692 unique nodes, 15794 total
[ 10% 10070/97665] Build hyb /home/use...n-patterns/de//hyph-de-ch-1901.pat.txt
8660 unique nodes, 29361 total
[ 10% 10071/97665] Build hyb /home/use...phenation-patterns/es//hyph-es.pat.txt
1622 unique nodes, 5831 total
[ 10% 10074/97665] Build hyb /home/use...phenation-patterns/as//hyph-as.pat.txt
6 unique nodes, 73 total
[ 10% 10079/97665] Build hyb /home/use...phenation-patterns/cu//hyph-cu.pat.txt
2797 unique nodes, 19198 total
[ 10% 10084/97665] Build hyb /home/use...phenation-patterns/bn//hyph-bn.pat.txt
6 unique nodes, 73 total
[ 10% 10087/97665] Build hyb /home/use...phenation-patterns/gu//hyph-gu.pat.txt
6 unique nodes, 67 total
[ 10% 10090/97665] Build hyb /home/use...phenation-patterns/hi//hyph-hi.pat.txt
6 unique nodes, 71 total
[ 10% 10094/97665] Build hyb /home/use...phenation-patterns/hr//hyph-hr.pat.txt
98 unique nodes, 1640 total
[ 10% 10098/97665] Build hyb /home/use...tion-patterns/de//hyph-de-1996.pat.txt
8578 unique nodes, 29167 total
[ 10% 10100/97665] Build hyb /home/use...tion-patterns/de//hyph-de-1901.pat.txt
8858 unique nodes, 29816 total
[ 10% 10105/97665] Build hyb /home/use...phenation-patterns/hy//hyph-hy.pat.txt
6 unique nodes, 1640 total
[ 10% 10108/97665] Build hyb /home/use...phenation-patterns/kn//hyph-kn.pat.txt
6 unique nodes, 74 total
[ 10% 10112/97665] Build hyb /home/use...phenation-patterns/ml//hyph-ml.pat.txt
10 unique nodes, 89 total
[ 10% 10119/97665] Build hyb /home/use...phenation-patterns/da//hyph-da.pat.txt
602 unique nodes, 1676 total
[ 10% 10123/97665] Build hyb /home/use...phenation-patterns/cy//hyph-cy.pat.txt
3290 unique nodes, 10601 total
[ 10% 10127/97665] Build hyb /home/use...phenation-patterns/eu//hyph-eu.pat.txt
13 unique nodes, 232 total
[ 10% 10128/97665] Build hyb /home/use...phenation-patterns/et//hyph-et.pat.txt
2043 unique nodes, 6198 total
[ 10% 10135/97665] Build hyb /home/use...phenation-patterns/fr//hyph-fr.pat.txt
994 unique nodes, 3181 total
[ 10% 10143/97665] Build hyb /home/use...tion-patterns/mn//hyph-mn-cyrl.pat.txt
366 unique nodes, 1530 total
[ 10% 10144/97665] Build hyb /home/use...phenation-patterns/ga//hyph-ga.pat.txt
3718 unique nodes, 10507 total
[ 10% 10148/97665] Build hyb /home/use...phenation-patterns/mr//hyph-mr.pat.txt
6 unique nodes, 71 total
[ 10% 10155/97665] Build hyb /home/use...phenation-patterns/nb//hyph-nb.pat.txt
12585 unique nodes, 42861 total
[ 10% 10156/97665] Build hyb /home/use...phenation-patterns/nn//hyph-nn.pat.txt
12585 unique nodes, 42861 total
[ 10% 10160/97665] Build hyb /home/use...phenation-patterns/or//hyph-or.pat.txt
6 unique nodes, 66 total
[ 10% 10164/97665] Build hyb /home/use...phenation-patterns/pa//hyph-pa.pat.txt
6 unique nodes, 61 total
[ 10% 10171/97665] Build hyb /home/use...phenation-patterns/pt//hyph-pt.pat.txt
33 unique nodes, 353 total
[ 10% 10175/97665] Build hyb /home/use...phenation-patterns/ta//hyph-ta.pat.txt
9 unique nodes, 73 total
[ 10% 10177/97665] Build hyb /home/use...phenation-patterns/sl//hyph-sl.pat.txt
657 unique nodes, 1598 total
[ 10% 10181/97665] Build hyb /home/use...phenation-patterns/te//hyph-te.pat.txt
6 unique nodes, 73 total
[ 10% 10187/97665] Build hyb /home/use...phenation-patterns/tk//hyph-tk.pat.txt
32 unique nodes, 2614 total
[ 10% 10191/97665] Build hyb /home/use...n-patterns/Ethi//hyph-und-ethi.pat.txt
3 unique nodes, 424 total
[ 10% 10219/97665] Build hyb /home/use...phenation-patterns/hu//hyph-hu.pat.txt
21515 unique nodes, 102669 total
[ 10% 10591/97665] target arm C: audio.../qcom/audio-caf/msm8916/hal/audio_hw.c
hardware/qcom/audio-caf/msm8916/hal/audio_hw.c:2003:13: warning: unused function 'out_snd_mon_cb' [-Wunused-function]
static void out_snd_mon_cb(void * stream, struct str_parms * parms)
^
hardware/qcom/audio-caf/msm8916/hal/audio_hw.c:2771:13: warning: unused function 'in_snd_mon_cb' [-Wunused-function]
static void in_snd_mon_cb(void * stream, struct str_parms * parms)
^
hardware/qcom/audio-caf/msm8916/hal/audio_hw.c:3958:13: warning: unused function 'adev_snd_mon_cb' [-Wunused-function]
static void adev_snd_mon_cb(void *cookie, struct str_parms *parms)
^
3 warnings generated.
[ 10% 10618/97665] target thumb C: gps...mon/gps/loc_api/libloc_api_50001/gps.c
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/gps.c:37:65: warning: unused parameter 'dev' [-Wunused-parameter]
const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/gps.c:42:67: warning: unused parameter 'name' [-Wunused-parameter]
static int open_gps(const struct hw_module_t* module, char const* name,
^
2 warnings generated.
[ 10% 10620/97665] target thumb C++: g...n/gps/loc_api/libloc_api_50001/loc.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:35:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:248:22: warning: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat]
gps_conf.CAPABILITIES);
^~~~~~~~~~~~~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:70:18: note: expanded from macro 'gps_conf'
#define gps_conf ContextBase::mGps_conf
^
out/target/product/X550/obj/include/gps.utils/log_util.h:108:43: note: expanded from macro 'LOC_LOGD'
#define LOC_LOGD(...) IF_LOC_LOGD { ALOGD(__VA_ARGS__); }
~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:201:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:258:58: warning: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat]
LOC_LOGD("qca1530 present: CAPABILITIES %0lx\n", gps_conf.CAPABILITIES);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
%0x
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:70:18: note: expanded from macro 'gps_conf'
#define gps_conf ContextBase::mGps_conf
^
out/target/product/X550/obj/include/gps.utils/log_util.h:108:43: note: expanded from macro 'LOC_LOGD'
#define LOC_LOGD(...) IF_LOC_LOGD { ALOGD(__VA_ARGS__); }
~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:201:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1005:50: warning: unused parameter 'callbacks' [-Wunused-parameter]
static void loc_agps_ril_init( AGpsRilCallbacks* callbacks ) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1006:66: warning: unused parameter 'agps_reflocation' [-Wunused-parameter]
static void loc_agps_ril_set_ref_location(const AGpsRefLocation *agps_reflocation, size_t sz_struct) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1006:91: warning: unused parameter 'sz_struct' [-Wunused-parameter]
static void loc_agps_ril_set_ref_location(const AGpsRefLocation *agps_reflocation, size_t sz_struct) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1007:51: warning: unused parameter 'type' [-Wunused-parameter]
static void loc_agps_ril_set_set_id(AGpsSetIDType type, const char* setid) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1007:69: warning: unused parameter 'setid' [-Wunused-parameter]
static void loc_agps_ril_set_set_id(AGpsSetIDType type, const char* setid) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1008:46: warning: unused parameter 'msg' [-Wunused-parameter]
static void loc_agps_ril_ni_message(uint8_t *msg, size_t len) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1008:58: warning: unused parameter 'len' [-Wunused-parameter]
static void loc_agps_ril_ni_message(uint8_t *msg, size_t len) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1009:51: warning: unused parameter 'connected' [-Wunused-parameter]
static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1009:66: warning: unused parameter 'type' [-Wunused-parameter]
static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1009:76: warning: unused parameter 'roaming' [-Wunused-parameter]
static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1009:97: warning: unused parameter 'extra_info' [-Wunused-parameter]
static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1047:16: warning: more '%' conversions than data arguments [-Wformat]
LOC_LOGE("%s:%d]: agps_revoke_certificates not supported");
~^
out/target/product/X550/obj/include/gps.utils/log_util.h:105:43: note: expanded from macro 'LOC_LOGE'
#define LOC_LOGE(...) IF_LOC_LOGE { ALOGE(__VA_ARGS__); }
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1043:75: warning: unused parameter 'fingerprints' [-Wunused-parameter]
static int loc_agps_revoke_certificates(const Sha1CertificateFingerprint* fingerprints,
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1044:48: warning: unused parameter 'length' [-Wunused-parameter]
size_t length)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1069:55: warning: unused parameter 'locExt' [-Wunused-parameter]
static void local_loc_cb(UlpLocation* location, void* locExt)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1082:55: warning: unused parameter 'svExt' [-Wunused-parameter]
static void local_sv_cb(GpsSvStatus* sv_status, void* svExt)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1092:63: warning: unused parameter 'esEnalbed' [-Wunused-parameter]
static void local_ni_cb(GpsNiNotification *notification, bool esEnalbed)
^
24 warnings generated.
[ 10% 10621/97665] target thumb C++: l..._api/libloc_api_50001/loc_eng_xtra.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_xtra.cpp:33:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
5 warnings generated.
[ 10% 10622/97665] target thumb C++: l..._api/libloc_api_50001/loc_eng_agps.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.cpp:33:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.cpp:598:35: warning: unused parameter 'cb_data' [-Wunused-parameter]
int Servicer :: requestRsrc(void *cb_data)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.cpp:631:5: warning: field 'mEnforceSingleSubscriber' will be initialized after field 'mServicer' [-Wreorder]
mEnforceSingleSubscriber(enforceSingleSubscriber),
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.cpp:691:21: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion]
mAPN[len] = NULL;
~ ^~~~
'\0'
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.cpp:815:45: warning: unused parameter 'result' [-Wunused-parameter]
void delay_callback(void *callbackData, int result)
^
9 warnings generated.
[ 10% 10624/97665] target thumb C++: l...s/loc_api/libloc_api_50001/loc_eng.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:63:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:228:27: warning: unused parameter 'data' [-Wunused-parameter]
static void* noProc(void* data)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:496:60: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
LOC_LOGV("LPPe CP: 0x%lx LPPe UP: 0x%1x", mLPPeCP, mLPPeUP);
~~~ ^~~~~~~
%1lx
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:1650:25: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned int') [-Wsign-compare]
for (int i=0; i < mNumberOfCerts; i++) {
~ ^ ~~~~~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:1664:25: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned int') [-Wsign-compare]
for (int i=0; i < mNumberOfCerts; i++) {
~ ^ ~~~~~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:1753:25: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned int') [-Wsign-compare]
for (int i =0; i< mGnssData.measurement_count && i < GNSS_MAX_SVS; i++) {
~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:2657:22: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion]
url[0] = NULL;
~ ^~~~
'\0'
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:2810:76: warning: more '%' conversions than data arguments [-Wformat]
LOC_LOGE("cert#(%u) length of %u is too big! greater than %u",
~^
out/target/product/X550/obj/include/gps.utils/log_util.h:105:43: note: expanded from macro 'LOC_LOGE'
#define LOC_LOGE(...) IF_LOC_LOGE { ALOGE(__VA_ARGS__); }
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:2807:25: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned int') [-Wsign-compare]
for (int i=0; i < numberOfCerts; ++i)
~ ^ ~~~~~~~~~~~~~
13 warnings generated.
[ 10% 10625/97665] target thumb C++: l...oc_api/libloc_api_50001/loc_eng_ni.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_ni.cpp:44:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
5 warnings generated.
[ 10% 10626/97665] target thumb C++: l..._api/libloc_api_50001/loc_eng_nmea.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_nmea.cpp:32:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
5 warnings generated.
[ 10% 10627/97665] target thumb C++: l.../libloc_api_50001/loc_eng_dmn_conn.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn.cpp:45:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_msg.h:39:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn.cpp:59:43: warning: unused parameter 'context' [-Wunused-parameter]
static int loc_api_server_proc_init(void *context)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn.cpp:112:42: warning: unused parameter 'context' [-Wunused-parameter]
static int loc_api_server_proc_pre(void *context)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn.cpp:167:43: warning: unused parameter 'context' [-Wunused-parameter]
static int loc_api_server_proc_post(void *context)
^
8 warnings generated.
[ 10% 10628/97665] target thumb C++: l...api/libloc_api_50001/LocEngAdapter.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/LocEngAdapter.cpp:37:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_msg.h:39:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/LocEngAdapter.cpp:79:5: warning: field 'mSupportsTimeInjection' will be initialized after field 'mPowerVote' [-Wreorder]
mSupportsTimeInjection(false),
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/LocEngAdapter.cpp:128:31: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i < sizeof(userAgent) && userAgent[i]; i++) {
~ ^ ~~~~~~~~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/LocEngAdapter.cpp:172:25: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned int') and 'const int' [-Wsign-compare]
if (written != len) {
~~~~~~~ ^ ~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/LocEngAdapter.cpp:199:30: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
while (--len >= 0 && isspace(buf[len])) {
~~~~~ ^ ~
9 warnings generated.
[ 10% 10629/97665] target thumb C++: l...api_50001/loc_eng_dmn_conn_handler.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn_handler.cpp:36:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_msg.h:39:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn_handler.cpp:42:86: warning: unused parameter 'len' [-Wunused-parameter]
int loc_eng_dmn_conn_loc_api_server_if_request_handler(struct ctrl_msgbuf *pmsg, int len)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn_handler.cpp:144:86: warning: unused parameter 'len' [-Wunused-parameter]
int loc_eng_dmn_conn_loc_api_server_if_release_handler(struct ctrl_msgbuf *pmsg, int len)
^
7 warnings generated.
[ 10% 10635/97665] target thumb C++: l...916-common/gps/core/LocAdapterBase.cpp
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:70:26: warning: unused parameter 'locationExt' [-Wunused-parameter]
void* locationExt,
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:83:28: warning: unused parameter 'svStatus' [-Wunused-parameter]
reportSv(GnssSvStatus &svStatus,
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:84:35: warning: unused parameter 'locationExtended' [-Wunused-parameter]
GpsLocationExtended &locationExtended,
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:85:20: warning: unused parameter 'svExt' [-Wunused-parameter]
void* svExt)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:90:33: warning: unused parameter 'status' [-Wunused-parameter]
reportStatus(GpsStatusValue status)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:95:28: warning: unused parameter 'nmea' [-Wunused-parameter]
reportNmea(const char* nmea, int length)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:95:38: warning: unused parameter 'length' [-Wunused-parameter]
reportNmea(const char* nmea, int length)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:99:34: warning: unused parameter 'url1' [-Wunused-parameter]
reportXtraServer(const char* url1, const char* url2,
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:99:52: warning: unused parameter 'url2' [-Wunused-parameter]
reportXtraServer(const char* url1, const char* url2,
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:100:34: warning: unused parameter 'url3' [-Wunused-parameter]
const char* url3, const int maxlength)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:100:50: warning: unused parameter 'maxlength' [-Wunused-parameter]
const char* url3, const int maxlength)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:116:20: warning: unused parameter 'connHandle' [-Wunused-parameter]
requestATL(int connHandle, AGpsType agps_type)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:116:41: warning: unused parameter 'agps_type' [-Wunused-parameter]
requestATL(int connHandle, AGpsType agps_type)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:120:20: warning: unused parameter 'connHandle' [-Wunused-parameter]
releaseATL(int connHandle)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:124:23: warning: unused parameter 'connHandle' [-Wunused-parameter]
requestSuplES(int connHandle)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:136:40: warning: unused parameter 'notify' [-Wunused-parameter]
requestNiNotify(GpsNiNotification &notify, const void* data)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:136:60: warning: unused parameter 'data' [-Wunused-parameter]
requestNiNotify(GpsNiNotification &notify, const void* data)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:140:41: warning: unused parameter 'gnssMeasurementData' [-Wunused-parameter]
reportGnssMeasurementData(GnssData &gnssMeasurementData)
^
18 warnings generated.
[ 10% 10637/97665] target thumb C++: l...sm8916-common/gps/core/ContextBase.cpp
device/asus/msm8916-common/gps/core/ContextBase.cpp:43:45: warning: missing field 'ACCURACY_THRES' initializer [-Wmissing-field-initializers]
loc_gps_cfg_s_type ContextBase::mGps_conf {0};
^
device/asus/msm8916-common/gps/core/ContextBase.cpp:44:45: warning: missing field 'GYRO_BIAS_RANDOM_WALK' initializer [-Wmissing-field-initializers]
loc_sap_cfg_s_type ContextBase::mSap_conf {0};
^
2 warnings generated.
[ 10% 10638/97665] target thumb C++: l...msm8916-common/gps/core/LocApiBase.cpp
device/asus/msm8916-common/gps/core/LocApiBase.cpp:102:25: warning: 'loc_core::LocSsrMsg::log' hides overloaded virtual function [-Woverloaded-virtual]
inline virtual void log() {
^
out/target/product/X550/obj/include/gps.utils/MsgTask.h:38:25: note: hidden overloaded virtual function 'LocMsg::log' declared here: different qualifiers (const vs none)
inline virtual void log() const {}
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:123:25: warning: 'loc_core::LocOpenMsg::log' hides overloaded virtual function [-Woverloaded-virtual]
inline virtual void log() {
^
out/target/product/X550/obj/include/gps.utils/MsgTask.h:38:25: note: hidden overloaded virtual function 'LocMsg::log' declared here: different qualifiers (const vs none)
inline virtual void log() const {}
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:131:5: warning: field 'mExcludedMask' will be initialized after field 'mMsgTask' [-Wreorder]
mExcludedMask(excludedMask), mMsgTask(msgTask),
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:132:5: warning: field 'mMask' will be initialized after field 'mSupportedMsg' [-Wreorder]
mMask(0), mSupportedMsg(0), mContext(context)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:132:15: warning: field 'mSupportedMsg' will be initialized after field 'mContext' [-Wreorder]
mMask(0), mSupportedMsg(0), mContext(context)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:248:14: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
locationExtended.gnss_sv_used_ids.gps_sv_used_ids_mask,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/core/LocApiBase.cpp:249:14: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
locationExtended.gnss_sv_used_ids.glo_sv_used_ids_mask,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/core/LocApiBase.cpp:250:14: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
locationExtended.gnss_sv_used_ids.bds_sv_used_ids_mask,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/core/LocApiBase.cpp:251:14: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
locationExtended.gnss_sv_used_ids.gal_sv_used_ids_mask);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/core/LocApiBase.cpp:383:38: warning: unused parameter 'mask' [-Wunused-parameter]
open(LOC_API_ADAPTER_EVENT_MASK_T mask)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:391:32: warning: unused parameter 'posMode' [-Wunused-parameter]
startFix(const LocPosMode& posMode)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:399:36: warning: unused parameter 'f' [-Wunused-parameter]
deleteAidingData(GpsAidingData f)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:403:20: warning: unused parameter 'enable' [-Wunused-parameter]
enableData(int enable)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:407:18: warning: unused parameter 'apn' [-Wunused-parameter]
setAPN(char* apn, int len)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:407:27: warning: unused parameter 'len' [-Wunused-parameter]
setAPN(char* apn, int len)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:411:27: warning: unused parameter 'latitude' [-Wunused-parameter]
injectPosition(double latitude, double longitude, float accuracy)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:411:44: warning: unused parameter 'longitude' [-Wunused-parameter]
injectPosition(double latitude, double longitude, float accuracy)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:411:61: warning: unused parameter 'accuracy' [-Wunused-parameter]
injectPosition(double latitude, double longitude, float accuracy)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:415:24: warning: unused parameter 'time' [-Wunused-parameter]
setTime(GpsUtcTime time, int64_t timeReference, int uncertainty)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:415:38: warning: unused parameter 'timeReference' [-Wunused-parameter]
setTime(GpsUtcTime time, int64_t timeReference, int uncertainty)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:415:57: warning: unused parameter 'uncertainty' [-Wunused-parameter]
setTime(GpsUtcTime time, int64_t timeReference, int uncertainty)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:419:23: warning: unused parameter 'data' [-Wunused-parameter]
setXtraData(char* data, int length)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:419:33: warning: unused parameter 'length' [-Wunused-parameter]
setXtraData(char* data, int length)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:427:22: warning: unused parameter 'handle' [-Wunused-parameter]
atlOpenStatus(int handle, int is_succ, char* apn,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:427:34: warning: unused parameter 'is_succ' [-Wunused-parameter]
atlOpenStatus(int handle, int is_succ, char* apn,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:427:49: warning: unused parameter 'apn' [-Wunused-parameter]
atlOpenStatus(int handle, int is_succ, char* apn,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:428:33: warning: unused parameter 'bear' [-Wunused-parameter]
AGpsBearerType bear, AGpsType agpsType)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:428:48: warning: unused parameter 'agpsType' [-Wunused-parameter]
AGpsBearerType bear, AGpsType agpsType)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:432:24: warning: unused parameter 'handle' [-Wunused-parameter]
atlCloseStatus(int handle, int is_succ)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:432:36: warning: unused parameter 'is_succ' [-Wunused-parameter]
atlCloseStatus(int handle, int is_succ)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:436:39: warning: unused parameter 'posMode' [-Wunused-parameter]
setPositionMode(const LocPosMode& posMode)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:440:27: warning: unused parameter 'url' [-Wunused-parameter]
setServer(const char* url, int len)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:440:36: warning: unused parameter 'len' [-Wunused-parameter]
setServer(const char* url, int len)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:444:28: warning: unused parameter 'ip' [-Wunused-parameter]
setServer(unsigned int ip, int port,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:444:36: warning: unused parameter 'port' [-Wunused-parameter]
setServer(unsigned int ip, int port,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:445:29: warning: unused parameter 'type' [-Wunused-parameter]
LocServerType type)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:449:42: warning: unused parameter 'userResponse' [-Wunused-parameter]
informNiResponse(GpsUserResponseType userResponse,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:450:34: warning: unused parameter 'passThroughData' [-Wunused-parameter]
const void* passThroughData)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:454:29: warning: unused parameter 'version' [-Wunused-parameter]
setSUPLVersion(uint32_t version)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:458:28: warning: unused parameter 'typesMask' [-Wunused-parameter]
setNMEATypes (uint32_t typesMask)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:462:27: warning: unused parameter 'profile' [-Wunused-parameter]
setLPPConfig(uint32_t profile)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:466:32: warning: unused parameter 'sensorUsage' [-Wunused-parameter]
setSensorControlConfig(int sensorUsage,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:467:32: warning: unused parameter 'sensorProvider' [-Wunused-parameter]
int sensorProvider)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:471:30: warning: unused parameter 'gyroBiasVarianceRandomWalk_valid' [-Wunused-parameter]
setSensorProperties(bool gyroBiasVarianceRandomWalk_valid,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:472:31: warning: unused parameter 'gyroBiasVarianceRandomWalk' [-Wunused-parameter]
float gyroBiasVarianceRandomWalk,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:473:30: warning: unused parameter 'accelBiasVarianceRandomWalk_valid' [-Wunused-parameter]
bool accelBiasVarianceRandomWalk_valid,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:474:31: warning: unused parameter 'accelBiasVarianceRandomWalk' [-Wunused-parameter]
float accelBiasVarianceRandomWalk,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:475:30: warning: unused parameter 'angleBiasVarianceRandomWalk_valid' [-Wunused-parameter]
bool angleBiasVarianceRandomWalk_valid,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:476:31: warning: unused parameter 'angleBiasVarianceRandomWalk' [-Wunused-parameter]
float angleBiasVarianceRandomWalk,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:477:30: warning: unused parameter 'rateBiasVarianceRandomWalk_valid' [-Wunused-parameter]
bool rateBiasVarianceRandomWalk_valid,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:478:31: warning: unused parameter 'rateBiasVarianceRandomWalk' [-Wunused-parameter]
float rateBiasVarianceRandomWalk,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:479:30: warning: unused parameter 'velocityBiasVarianceRandomWalk_valid' [-Wunused-parameter]
bool velocityBiasVarianceRandomWalk_valid,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:480:31: warning: unused parameter 'velocityBiasVarianceRandomWalk' [-Wunused-parameter]
float velocityBiasVarianceRandomWalk)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:484:36: warning: unused parameter 'controlMode' [-Wunused-parameter]
setSensorPerfControlConfig(int controlMode,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:485:36: warning: unused parameter 'accelSamplesPerBatch' [-Wunused-parameter]
int accelSamplesPerBatch,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:486:36: warning: unused parameter 'accelBatchesPerSec' [-Wunused-parameter]
int accelBatchesPerSec,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:487:36: warning: unused parameter 'gyroSamplesPerBatch' [-Wunused-parameter]
int gyroSamplesPerBatch,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:488:36: warning: unused parameter 'gyroBatchesPerSec' [-Wunused-parameter]
int gyroBatchesPerSec,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:489:36: warning: unused parameter 'accelSamplesPerBatchHigh' [-Wunused-parameter]
int accelSamplesPerBatchHigh,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:490:36: warning: unused parameter 'accelBatchesPerSecHigh' [-Wunused-parameter]
int accelBatchesPerSecHigh,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:491:36: warning: unused parameter 'gyroSamplesPerBatchHigh' [-Wunused-parameter]
int gyroSamplesPerBatchHigh,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:492:36: warning: unused parameter 'gyroBatchesPerSecHigh' [-Wunused-parameter]
int gyroBatchesPerSecHigh,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:493:36: warning: unused parameter 'algorithmConfig' [-Wunused-parameter]
int algorithmConfig)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:497:39: warning: unused parameter 'aGlonassProtocol' [-Wunused-parameter]
setAGLONASSProtocol(unsigned long aGlonassProtocol)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:501:39: warning: unused parameter 'lppeCP' [-Wunused-parameter]
setLPPeProtocol(unsigned long lppeCP, unsigned long lppeUP)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:501:61: warning: unused parameter 'lppeUP' [-Wunused-parameter]
setLPPeProtocol(unsigned long lppeCP, unsigned long lppeUP)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:505:31: warning: unused parameter 'zppLoc' [-Wunused-parameter]
getWwanZppFix(GpsLocation& zppLoc)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:540:34: warning: unused parameter 'lock' [-Wunused-parameter]
setGpsLock(LOC_GPS_LOCK_MASK lock)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:544:50: warning: unused parameter 'pData' [-Wunused-parameter]
installAGpsCert(const DerEncodedCertificate* pData,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:545:28: warning: unused parameter 'length' [-Wunused-parameter]
size_t length,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:546:30: warning: unused parameter 'slotBitMask' [-Wunused-parameter]
uint32_t slotBitMask)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:554:49: warning: unused parameter 'check' [-Wunused-parameter]
setXtraVersionCheck(enum xtra_version_check check)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:558:57: warning: unused parameter 'event' [-Wunused-parameter]
updateRegistrationMask(LOC_API_ADAPTER_EVENT_MASK_T event,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:559:57: warning: unused parameter 'isEnabled' [-Wunused-parameter]
loc_registration_mask_status isEnabled)
^
74 warnings generated.
[ 10% 10639/97665] target thumb C++: l...m8916-common/gps/core/loc_core_log.cpp
device/asus/msm8916-common/gps/core/loc_core_log.cpp:123:58: warning: unused parameter 'data' [-Wunused-parameter]
const char* loc_get_aiding_data_mask_names(GpsAidingData data)
^
1 warning generated.
[ 10% 10640/97665] target thumb C++: l...ractions/elapsed_millis_since_boot.cpp
device/asus/msm8916-common/gps/utils/platform_lib_abstractions/elapsed_millis_since_boot.cpp:33:24: warning: unused parameter 'clock' [-Wunused-parameter]
int64_t systemTime(int clock)
^
1 warning generated.
[ 10% 10644/97665] target thumb C++: l...msm8916-common/gps/utils/LocThread.cpp
device/asus/msm8916-common/gps/utils/LocThread.cpp:67:56: warning: implicit conversion of NULL constant to 'pthread_t' (aka 'long') [-Wnull-conversion]
mRunnable(runnable), mJoinable(joinable), mThandle(NULL),
~^~~~
0
device/asus/msm8916-common/gps/utils/LocThread.cpp:81:20: warning: implicit conversion of NULL constant to 'pthread_t' (aka 'long') [-Wnull-conversion]
mThandle = NULL;
~ ^~~~
0
2 warnings generated.
[ 10% 10646/97665] target thumb C++: l...16-common/gps/utils/loc_misc_utils.cpp
device/asus/msm8916-common/gps/utils/loc_misc_utils.cpp:36:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "LocSvc_misc_utils"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 10% 10647/97665] target thumb C++: l.../msm8916-common/gps/utils/LocTimer.cpp
device/asus/msm8916-common/gps/utils/LocTimer.cpp:286:37: warning: missing field 'tv_nsec' initializer [-Wmissing-field-initializers]
struct itimerspec delay = {0};
^
device/asus/msm8916-common/gps/utils/LocTimer.cpp:286:36: warning: suggest braces around initialization of subobject [-Wmissing-braces]
struct itimerspec delay = {0};
^
{}
device/asus/msm8916-common/gps/utils/LocTimer.cpp:286:37: warning: missing field 'it_value' initializer [-Wmissing-field-initializers]
struct itimerspec delay = {0};
^
device/asus/msm8916-common/gps/utils/LocTimer.cpp:377:33: warning: missing field 'tv_nsec' initializer [-Wmissing-field-initializers]
struct itimerspec delay = {0};
^
device/asus/msm8916-common/gps/utils/LocTimer.cpp:377:32: warning: suggest braces around initialization of subobject [-Wmissing-braces]
struct itimerspec delay = {0};
^
{}
device/asus/msm8916-common/gps/utils/LocTimer.cpp:377:33: warning: missing field 'it_value' initializer [-Wmissing-field-initializers]
struct itimerspec delay = {0};
^
6 warnings generated.
[ 10% 10649/97665] target thumb C: lib.../asus/msm8916-common/gps/utils/msg_q.c
device/asus/msm8916-common/gps/utils/msg_q.c:202:73: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
LOC_LOGV("%s: Sending message with handle = 0x%08X\n", __FUNCTION__, msg_obj);
~~~~ ^~~~~~~
device/asus/msm8916-common/gps/utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/utils/msg_q.c:218:82: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
LOC_LOGV("%s: Finished Sending message with handle = 0x%08X\n", __FUNCTION__, msg_obj);
~~~~ ^~~~~~~
device/asus/msm8916-common/gps/utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/utils/msg_q.c:266:68: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
LOC_LOGV("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv);
~~~~ ^~~~~~~~
device/asus/msm8916-common/gps/utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
3 warnings generated.
[ 10% 10650/97665] target thumb C: lib...msm8916-common/gps/utils/linked_list.c
device/asus/msm8916-common/gps/utils/linked_list.c:112:69: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
LOC_LOGV("%s: Adding to list data_obj = 0x%08X\n", __FUNCTION__, data_obj);
~~~~ ^~~~~~~~
device/asus/msm8916-common/gps/utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
[ 10% 10726/97665] target thumb C: lib...mm-audio/aenc-aac/qdsp6/src/aenc_svr.c
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/aenc_svr.c:35:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_AACENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 10% 10730/97665] target thumb C: lib...-audio/aenc-amrnb/qdsp6/src/aenc_svr.c
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/aenc_svr.c:35:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_AMRENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 10% 10732/97665] target thumb C++: l...io/aenc-aac/qdsp6/src/omx_aac_aenc.cpp
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:41:
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:56:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_AACENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:276:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
output_buffer_size((OMX_U32)OMX_AAC_OUTPUT_BUFFER_SIZE),
^~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:139:54: note: expanded from macro 'OMX_AAC_OUTPUT_BUFFER_SIZE'
+ 1023) & (~1023))
~ ^~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:819:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:933:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
else if ((state == OMX_StatePause))
~~~~~~^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:933:21: note: remove extraneous parentheses around the comparison to silence this warning
else if ((state == OMX_StatePause))
~ ^ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:933:21: note: use '=' to turn this equality comparison into an assignment
else if ((state == OMX_StatePause))
^~
=
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1134:33: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
(OMX_U8*)malloc(sizeof(OMX_U8)*OMX_AAC_OUTPUT_BUFFER_SIZE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:139:54: note: expanded from macro 'OMX_AAC_OUTPUT_BUFFER_SIZE'
+ 1023) & (~1023))
~ ^~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1155:24: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
~~~~~ ^~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
#define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1260:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1304:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1337:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1354:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1365:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1376:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1394:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1421:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
#define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1434:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_AAC_ENC_CONFIG,
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio_aac.h:14:35: note: expanded from macro 'AUDIO_GET_AAC_ENC_CONFIG'
#define AUDIO_GET_AAC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1443:17: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
get_updated_bit_rate(m_aac_param.nBitRate);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1443:50: warning: implicit conversion changes signedness: 'OMX_U32' (aka 'unsigned int') to 'int' [-Wsign-conversion]
get_updated_bit_rate(m_aac_param.nBitRate);
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1477:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if (ioctl(m_drv_fd, AUDIO_GET_AAC_CONFIG, &drv_aac_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio_aac.h:8:31: note: expanded from macro 'AUDIO_GET_AAC_CONFIG'
#define AUDIO_GET_AAC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1541:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
~~~~~ ^~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
#define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1565:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1578:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1586:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1603:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1622:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1638:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1646:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1653:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1661:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1698:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1707:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1715:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1722:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1730:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1752:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1760:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1768:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1777:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1800:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1825:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2303:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2304:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
omx_buf->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2316:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2317:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
omx_buf->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2766:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
component_Role.nVersion,
^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
#define DEBUG_PRINT_ERROR LOGE
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
#define LOGE ALOGE
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2827:52: warning: implicit conversion changes signedness: 'OMX_U32' (aka 'unsigned int') to 'OMX_S32' (aka 'int') [-Wsign-conversion]
sample_idx = sample_idx_tbl[loop].sample_rate_idx;
~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3168:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3282:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3283:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
peerPort = peerPort;
~~~~~~~~ ^ ~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3323:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3377:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3471:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3482:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3491:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3575:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3584:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3594:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3659:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3744:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3876:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3885:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3917:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3950:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3963:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3973:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4093:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
~~ ^~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4105:22: warning: implicit conversion changes signedness: 'OMX_TICKS' (aka 'long long') to 'OMX_U64' (aka 'unsigned long long') [-Wsign-conversion]
ts = buffer->nTimeStamp;
~ ~~~~~~~~^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4119:19: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4170:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
buffer->nAllocLen,m_tmp_out_meta_buf,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4171:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
nReadbytes,nNumOutputBuf);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4179:55: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
metainfo = (int)((sizeof(ENC_META_OUT) * numframes)+
~ ^~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4189:55: warning: implicit conversion changes signedness: 'OMX_S32' (aka 'int') to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
audaac_rec_install_adif_header_variable(0,sample_idx,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4191:55: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned int') [-Wsign-conversion]
memcpy(buffer->pBuffer,m_tmp_out_meta_buf,metainfo);
~~~~~~ ^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4192:70: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned int') [-Wsign-conversion]
memcpy(buffer->pBuffer + metainfo,&audaac_header_adif[0],szadifhr);
~~~~~~ ^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4194:55: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned int') [-Wsign-conversion]
m_tmp_out_meta_buf + metainfo,(nReadbytes - metainfo));
~~~~~~~~~~~^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4197:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_out->frame_size += szadifhr;
~~ ^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4203:47: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_out->offset_to_frame += szadifhr;
~~ ^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4213:56: warning: implicit conversion changes signedness: 'OMX_S32' (aka 'int') to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
audaac_rec_install_mp4ff_header_variable(0,sample_idx,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4232:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
nReadbytes,nNumOutputBuf);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4237:37: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4246:23: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4254:34: warning: implicit conversion changes signedness: 'unsigned long long' to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = ts + (frameduration * m_frame_count);
~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4256:31: warning: implicit conversion changes signedness: 'OMX_TICKS' (aka 'long long') to 'OMX_U64' (aka 'unsigned long long') [-Wsign-conversion]
nTimestamp = buffer->nTimeStamp;
~ ~~~~~~~~^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4259:41: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
buffer->nFilledLen = (OMX_U32)(nReadbytes - buffer->nOffset + szadifhr);
^~~~~~~~~~ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4259:72: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
buffer->nFilledLen = (OMX_U32)(nReadbytes - buffer->nOffset + szadifhr);
~ ^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4270:36: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4185:36: warning: comparison of integers of different signs: 'OMX_U32' (aka 'unsigned int') and 'long' [-Wsign-compare]
(buffer->nAllocLen < (nReadbytes + szadifhr)) ||
~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4461:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4591:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
bufferHdr = bufferHdr;
~~~~~~~~~ ^ ~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4592:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:5064:47: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
max_bitrate = m_aac_param.nSampleRate *
~ ~~~~~~~~~~~~~~~~~~~~~~~~^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:5069:33: warning: implicit conversion changes signedness: 'OMX_U32' (aka 'unsigned int') to 'int' [-Wsign-conversion]
min_bitrate = m_aac_param.nSampleRate;
~ ~~~~~~~~~~~~^~~~~~~~~~~
91 warnings generated.
[ 10% 10743/97665] target thumb C++: l.../aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:41:
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:57:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_AMRENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:818:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:932:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
else if ((state == OMX_StatePause))
~~~~~~^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:932:21: note: remove extraneous parentheses around the comparison to silence this warning
else if ((state == OMX_StatePause))
~ ^ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:932:21: note: use '=' to turn this equality comparison into an assignment
else if ((state == OMX_StatePause))
^~
=
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1149:24: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
~~~~~ ^~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
#define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1254:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1298:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1331:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1348:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1359:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1370:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1388:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1415:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
#define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1437:28: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_SET_AMRNB_ENC_CONFIG_V2, &drv_amr_enc_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio_amrnb.h:13:40: note: expanded from macro 'AUDIO_SET_AMRNB_ENC_CONFIG_V2'
#define AUDIO_SET_AMRNB_ENC_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC, \
^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1457:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
~~~~~ ^~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
#define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1479:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1491:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1499:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1516:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1535:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1551:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1559:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1566:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1574:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1611:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1620:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1628:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1635:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1643:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1665:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1673:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1681:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1690:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1713:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1738:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2217:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2218:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
omx_buf->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2230:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2231:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
omx_buf->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2678:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
component_Role.nVersion,
^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
#define DEBUG_PRINT_ERROR LOGE
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
#define LOGE ALOGE
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3069:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3183:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3184:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
peerPort = peerPort;
~~~~~~~~ ^ ~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3224:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3278:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3371:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3382:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3391:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3475:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3484:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3494:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3559:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3644:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3776:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3785:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3817:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3850:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3863:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3875:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3993:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
~~ ^~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4043:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
buffer->nAllocLen,buffer->pBuffer,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4044:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
nReadbytes,nNumOutputBuf);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4048:38: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4052:45: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
DEBUG_PRINT("Read bytes %d\n",nReadbytes);
~~ ^~~~~~~~~~
%zd
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:63:27: note: expanded from macro 'DEBUG_PRINT'
#define DEBUG_PRINT LOGI
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:59:14: note: expanded from macro 'LOGI'
#define LOGI ALOGI
^
system/core/liblog/include/log/log_main.h:214:51: note: expanded from macro 'ALOGI'
#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4064:42: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
buffer->nFilledLen = (OMX_U32)(nReadbytes - buffer->nOffset);
^~~~~~~~~~ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4066:32: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = ts;
~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4067:32: warning: implicit conversion changes signedness: 'OMX_TICKS' (aka 'long long') to 'OMX_U64' (aka 'unsigned long long') [-Wsign-conversion]
nTimestamp = buffer->nTimeStamp;
~ ~~~~~~~~^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4076:36: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4264:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4394:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
bufferHdr = bufferHdr;
~~~~~~~~~ ^ ~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4395:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
70 warnings generated.
[ 11% 10744/97665] target thumb C: lib...m-audio/aenc-evrc/qdsp6/src/aenc_svr.c
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/aenc_svr.c:35:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_EVRCENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 11% 10745/97665] target thumb C: lib...udio/aenc-qcelp13/qdsp6/src/aenc_svr.c
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/aenc_svr.c:35:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_QCELP13ENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 11% 10751/97665] target thumb C++: l.../aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:41:
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:56:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_EVRCENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:455:74: warning: more '%' conversions than data arguments [-Wformat]
DEBUG_DETAIL("EBD CB:: in_buf_len=%d nNumInputBuf=%d %d ebd_cnt %d \n",\
~^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:814:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:928:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
else if ((state == OMX_StatePause))
~~~~~~^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:928:21: note: remove extraneous parentheses around the comparison to silence this warning
else if ((state == OMX_StatePause))
~ ^ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:928:21: note: use '=' to turn this equality comparison into an assignment
else if ((state == OMX_StatePause))
^~
=
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1151:24: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
~~~~~ ^~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
#define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1256:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1300:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1333:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1350:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1361:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1372:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1390:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1417:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
#define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1430:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_EVRC_ENC_CONFIG,
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio_qcp.h:15:36: note: expanded from macro 'AUDIO_GET_EVRC_ENC_CONFIG'
#define AUDIO_GET_EVRC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1458:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
~~~~~ ^~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
#define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1480:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1493:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1501:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1518:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1537:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1553:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1561:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1568:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1576:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1613:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1622:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1630:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1637:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1645:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1667:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1675:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1683:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1692:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1715:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1740:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:2219:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:2232:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:2680:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
component_Role.nVersion,
^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
#define DEBUG_PRINT_ERROR LOGE
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
#define LOGE ALOGE
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3071:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3185:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3186:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
peerPort = peerPort;
~~~~~~~~ ^ ~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3226:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3280:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3373:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3384:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3393:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3477:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3486:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3496:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3561:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3646:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3778:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3787:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3819:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3852:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3865:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3877:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3997:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
~~ ^~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4018:19: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4061:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
buffer->nAllocLen,buffer->pBuffer,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4062:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
nReadbytes,nNumOutputBuf);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4075:20: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4080:45: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
DEBUG_PRINT("Read bytes %d\n",nReadbytes);
~~ ^~~~~~~~~~
%zd
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:63:27: note: expanded from macro 'DEBUG_PRINT'
#define DEBUG_PRINT LOGI
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:59:14: note: expanded from macro 'LOGI'
#define LOGI ALOGI
^
system/core/liblog/include/log/log_main.h:214:51: note: expanded from macro 'ALOGI'
#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4092:42: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
buffer->nFilledLen = (OMX_U32)(nReadbytes - buffer->nOffset);
^~~~~~~~~~ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4291:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4419:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
bufferHdr = bufferHdr;
~~~~~~~~~ ^ ~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4420:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
67 warnings generated.
[ 11% 10754/97665] target thumb C++: l...qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:41:
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:56:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_QCELP13ENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:816:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:930:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
else if ((state == OMX_StatePause))
~~~~~~^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:930:21: note: remove extraneous parentheses around the comparison to silence this warning
else if ((state == OMX_StatePause))
~ ^ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:930:21: note: use '=' to turn this equality comparison into an assignment
else if ((state == OMX_StatePause))
^~
=
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1153:24: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
~~~~~ ^~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
#define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1258:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1302:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1335:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1352:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1363:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1374:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1392:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1419:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
#define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1432:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_QCELP_ENC_CONFIG,
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio_qcp.h:9:37: note: expanded from macro 'AUDIO_GET_QCELP_ENC_CONFIG'
#define AUDIO_GET_QCELP_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1460:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
~~~~~ ^~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
#define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1489:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1497:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1514:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1533:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1549:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1557:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1564:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1572:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1609:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1618:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1626:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1633:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1641:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1663:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1671:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1679:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1688:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1711:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1736:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:2215:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:2228:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:2677:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
component_Role.nVersion,
^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
#define DEBUG_PRINT_ERROR LOGE
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
#define LOGE ALOGE
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3068:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3182:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3183:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
peerPort = peerPort;
~~~~~~~~ ^ ~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3223:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3277:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3370:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3381:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3390:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3474:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3483:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3493:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3558:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3643:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3776:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3785:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3817:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3850:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3863:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3875:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3995:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
~~ ^~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4016:19: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4059:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
buffer->nAllocLen,buffer->pBuffer,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4060:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
nReadbytes,nNumOutputBuf);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4073:20: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4078:45: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
DEBUG_PRINT("Read bytes %d\n",nReadbytes);
~~ ^~~~~~~~~~
%zd
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:63:27: note: expanded from macro 'DEBUG_PRINT'
#define DEBUG_PRINT LOGI
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:59:14: note: expanded from macro 'LOGI'
#define LOGI ALOGI
^
system/core/liblog/include/log/log_main.h:214:51: note: expanded from macro 'ALOGI'
#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4091:42: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
buffer->nFilledLen = (OMX_U32)(nReadbytes - buffer->nOffset);
^~~~~~~~~~ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4291:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4419:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
bufferHdr = bufferHdr;
~~~~~~~~~ ^ ~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4420:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
65 warnings generated.
[ 11% 10780/97665] target thumb C: lib...-caf/libbt-vendor/src/bt_vendor_qcom.c
hardware/qcom/bt-caf/libbt-vendor/src/bt_vendor_qcom.c:1358:14: warning: implicit conversion from enumeration type 'ant_serial' to different enumeration type 'bt_vendor_opcode_t' [-Wenum-conversion]
__op(BT_VND_OP_ANT_USERIAL_CLOSE, NULL);
~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 11% 11186/97665] target thumb C: lib...udio-caf/msm8916/post_proc/equalizer.c
hardware/qcom/audio-caf/msm8916/post_proc/equalizer.c:390:19: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
if (vsize < sizeof(int16_t)) {
~~~~~ ^ ~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/post_proc/equalizer.c:403:19: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
if (vsize < sizeof(int16_t)) {
~~~~~ ^ ~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/post_proc/equalizer.c:420:19: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
if (vsize < sizeof(int16_t)) {
~~~~~ ^ ~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/post_proc/equalizer.c:432:23: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
if (vsize < (2 + NUM_EQ_BANDS) * sizeof(int16_t)) {
~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
[ 11% 11187/97665] target thumb C: lib...m/audio-caf/msm8916/post_proc/bundle.c
hardware/qcom/audio-caf/msm8916/post_proc/bundle.c:461:62: warning: unused parameter 'query' [-Wunused-parameter]
void offload_effects_bundle_get_parameters(struct str_parms *query,
^
hardware/qcom/audio-caf/msm8916/post_proc/bundle.c:462:62: warning: unused parameter 'reply' [-Wunused-parameter]
struct str_parms *reply)
^
hardware/qcom/audio-caf/msm8916/post_proc/bundle.c:468:62: warning: unused parameter 'parms' [-Wunused-parameter]
void offload_effects_bundle_set_parameters(struct str_parms *parms)
^
3 warnings generated.
[ 11% 11205/97665] target thumb C: lib...16/voice_processing/voice_processing.c
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:761:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
tag : AUDIO_EFFECT_LIBRARY_TAG,
^~~~~
.tag =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:762:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
version : EFFECT_LIBRARY_API_VERSION,
^~~~~~~~~
.version =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:763:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
name : "MSM8960 Audio Preprocessing Library",
^~~~~~
.name =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:764:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
implementor : "The Android Open Source Project",
^~~~~~~~~~~~~
.implementor =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:765:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
create_effect : lib_create,
^~~~~~~~~~~~~~~
.create_effect =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:766:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
release_effect : lib_release,
^~~~~~~~~~~~~~~~
.release_effect =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:767:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
get_descriptor : lib_get_descriptor
^~~~~~~~~~~~~~~~
.get_descriptor =
7 warnings generated.
[ 11% 11208/97665] target thumb C: lib...sm8916/visualizer/offload_visualizer.c
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:88:3: warning: redefinition of typedef 'output_context_t' is a C11 feature [-Wtypedef-redefinition]
} output_context_t;
^
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:50:33: note: previous definition is here
typedef struct output_context_s output_context_t;
^
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1318:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
tag : AUDIO_EFFECT_LIBRARY_TAG,
^~~~~
.tag =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1319:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
version : EFFECT_LIBRARY_API_VERSION,
^~~~~~~~~
.version =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1320:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
name : "Visualizer Library",
^~~~~~
.name =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1321:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
implementor : "The Android Open Source Project",
^~~~~~~~~~~~~
.implementor =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1322:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
create_effect : effect_lib_create,
^~~~~~~~~~~~~~~
.create_effect =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1323:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
release_effect : effect_lib_release,
^~~~~~~~~~~~~~~~
.release_effect =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1324:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
get_descriptor : effect_lib_get_descriptor,
^~~~~~~~~~~~~~~~
.get_descriptor =
8 warnings generated.
[ 11% 11322/97665] target C: audio.pr.../qcom/audio-caf/msm8916/hal/audio_hw.c
hardware/qcom/audio-caf/msm8916/hal/audio_hw.c:2003:13: warning: unused function 'out_snd_mon_cb' [-Wunused-function]
static void out_snd_mon_cb(void * stream, struct str_parms * parms)
^
hardware/qcom/audio-caf/msm8916/hal/audio_hw.c:2771:13: warning: unused function 'in_snd_mon_cb' [-Wunused-function]
static void in_snd_mon_cb(void * stream, struct str_parms * parms)
^
hardware/qcom/audio-caf/msm8916/hal/audio_hw.c:3958:13: warning: unused function 'adev_snd_mon_cb' [-Wunused-function]
static void adev_snd_mon_cb(void *cookie, struct str_parms *parms)
^
3 warnings generated.
[ 11% 11342/97665] target C++: libgps...ractions/elapsed_millis_since_boot.cpp
device/asus/msm8916-common/gps/utils/platform_lib_abstractions/elapsed_millis_since_boot.cpp:33:24: warning: unused parameter 'clock' [-Wunused-parameter]
int64_t systemTime(int clock)
^
1 warning generated.
[ 11% 11344/97665] target C: gps.msm8...mon/gps/loc_api/libloc_api_50001/gps.c
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/gps.c:37:65: warning: unused parameter 'dev' [-Wunused-parameter]
const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/gps.c:42:67: warning: unused parameter 'name' [-Wunused-parameter]
static int open_gps(const struct hw_module_t* module, char const* name,
^
2 warnings generated.
[ 11% 11345/97665] target C++: gps.ms...n/gps/loc_api/libloc_api_50001/loc.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:35:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:248:22: warning: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat]
gps_conf.CAPABILITIES);
^~~~~~~~~~~~~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:70:18: note: expanded from macro 'gps_conf'
#define gps_conf ContextBase::mGps_conf
^
out/target/product/X550/obj/include/gps.utils/log_util.h:108:43: note: expanded from macro 'LOC_LOGD'
#define LOC_LOGD(...) IF_LOC_LOGD { ALOGD(__VA_ARGS__); }
~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:201:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:258:58: warning: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat]
LOC_LOGD("qca1530 present: CAPABILITIES %0lx\n", gps_conf.CAPABILITIES);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
%0x
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:70:18: note: expanded from macro 'gps_conf'
#define gps_conf ContextBase::mGps_conf
^
out/target/product/X550/obj/include/gps.utils/log_util.h:108:43: note: expanded from macro 'LOC_LOGD'
#define LOC_LOGD(...) IF_LOC_LOGD { ALOGD(__VA_ARGS__); }
~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:201:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1005:50: warning: unused parameter 'callbacks' [-Wunused-parameter]
static void loc_agps_ril_init( AGpsRilCallbacks* callbacks ) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1006:66: warning: unused parameter 'agps_reflocation' [-Wunused-parameter]
static void loc_agps_ril_set_ref_location(const AGpsRefLocation *agps_reflocation, size_t sz_struct) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1006:91: warning: unused parameter 'sz_struct' [-Wunused-parameter]
static void loc_agps_ril_set_ref_location(const AGpsRefLocation *agps_reflocation, size_t sz_struct) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1007:51: warning: unused parameter 'type' [-Wunused-parameter]
static void loc_agps_ril_set_set_id(AGpsSetIDType type, const char* setid) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1007:69: warning: unused parameter 'setid' [-Wunused-parameter]
static void loc_agps_ril_set_set_id(AGpsSetIDType type, const char* setid) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1008:46: warning: unused parameter 'msg' [-Wunused-parameter]
static void loc_agps_ril_ni_message(uint8_t *msg, size_t len) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1008:58: warning: unused parameter 'len' [-Wunused-parameter]
static void loc_agps_ril_ni_message(uint8_t *msg, size_t len) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1009:51: warning: unused parameter 'connected' [-Wunused-parameter]
static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1009:66: warning: unused parameter 'type' [-Wunused-parameter]
static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1009:76: warning: unused parameter 'roaming' [-Wunused-parameter]
static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1009:97: warning: unused parameter 'extra_info' [-Wunused-parameter]
static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1047:16: warning: more '%' conversions than data arguments [-Wformat]
LOC_LOGE("%s:%d]: agps_revoke_certificates not supported");
~^
out/target/product/X550/obj/include/gps.utils/log_util.h:105:43: note: expanded from macro 'LOC_LOGE'
#define LOC_LOGE(...) IF_LOC_LOGE { ALOGE(__VA_ARGS__); }
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1043:75: warning: unused parameter 'fingerprints' [-Wunused-parameter]
static int loc_agps_revoke_certificates(const Sha1CertificateFingerprint* fingerprints,
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1044:48: warning: unused parameter 'length' [-Wunused-parameter]
size_t length)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1069:55: warning: unused parameter 'locExt' [-Wunused-parameter]
static void local_loc_cb(UlpLocation* location, void* locExt)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1082:55: warning: unused parameter 'svExt' [-Wunused-parameter]
static void local_sv_cb(GpsSvStatus* sv_status, void* svExt)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc.cpp:1092:63: warning: unused parameter 'esEnalbed' [-Wunused-parameter]
static void local_ni_cb(GpsNiNotification *notification, bool esEnalbed)
^
24 warnings generated.
[ 11% 11346/97665] target C++: libloc..._api/libloc_api_50001/loc_eng_xtra.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_xtra.cpp:33:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
5 warnings generated.
[ 11% 11348/97665] target C++: libloc...oc_api/libloc_api_50001/loc_eng_ni.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_ni.cpp:44:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
5 warnings generated.
[ 11% 11349/97665] target C++: libloc...s/loc_api/libloc_api_50001/loc_eng.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:63:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:228:27: warning: unused parameter 'data' [-Wunused-parameter]
static void* noProc(void* data)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:371:18: warning: format specifies type 'long long' but the argument has type 'GpsUtcTime' (aka 'long') [-Wformat]
mTime, mTimeReference, mUncertainty);
^~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:371:25: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
mTime, mTimeReference, mUncertainty);
^~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:496:60: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
LOC_LOGV("LPPe CP: 0x%lx LPPe UP: 0x%1x", mLPPeCP, mLPPeUP);
~~~ ^~~~~~~
%1lx
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:1650:25: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]
for (int i=0; i < mNumberOfCerts; i++) {
~ ^ ~~~~~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:1664:25: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]
for (int i=0; i < mNumberOfCerts; i++) {
~ ^ ~~~~~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:1676:18: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
mNumberOfCerts, mSlotBitMask);
^~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:1752:38: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
__func__, __LINE__, mGnssData.measurement_count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:1774:13: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
mGnssData.clock.time_ns,
^~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:1775:13: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat]
mGnssData.clock.full_bias_ns,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:1753:25: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]
for (int i =0; i< mGnssData.measurement_count && i < GNSS_MAX_SVS; i++) {
~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:2657:22: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion]
url[0] = NULL;
~ ^~~~
'\0'
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:2792:38: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
slotBitMask, slotCount, numberOfCerts);
^~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:108:43: note: expanded from macro 'LOC_LOGD'
#define LOC_LOGD(...) IF_LOC_LOGD { ALOGD(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:201:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:2804:29: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
slotCount, numberOfCerts);
^~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:105:43: note: expanded from macro 'LOC_LOGE'
#define LOC_LOGE(...) IF_LOC_LOGE { ALOGE(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:2811:25: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
certificates[i].length, AGPS_CERTIFICATE_MAX_LENGTH);
^~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:105:43: note: expanded from macro 'LOC_LOGE'
#define LOC_LOGE(...) IF_LOC_LOGE { ALOGE(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:2810:76: warning: more '%' conversions than data arguments [-Wformat]
LOC_LOGE("cert#(%u) length of %u is too big! greater than %u",
~^
out/target/product/X550/obj/include/gps.utils/log_util.h:105:43: note: expanded from macro 'LOC_LOGE'
#define LOC_LOGE(...) IF_LOC_LOGE { ALOGE(__VA_ARGS__); }
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.cpp:2807:25: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
for (int i=0; i < numberOfCerts; ++i)
~ ^ ~~~~~~~~~~~~~
22 warnings generated.
[ 11% 11350/97665] target C++: libloc...api/libloc_api_50001/LocEngAdapter.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/LocEngAdapter.cpp:37:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_msg.h:39:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/LocEngAdapter.cpp:79:5: warning: field 'mSupportsTimeInjection' will be initialized after field 'mPowerVote' [-Wreorder]
mSupportsTimeInjection(false),
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/LocEngAdapter.cpp:128:31: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (int i = 0; i < sizeof(userAgent) && userAgent[i]; i++) {
~ ^ ~~~~~~~~~~~~~~~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/LocEngAdapter.cpp:172:25: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare]
if (written != len) {
~~~~~~~ ^ ~~~
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/LocEngAdapter.cpp:199:30: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
while (--len >= 0 && isspace(buf[len])) {
~~~~~ ^ ~
9 warnings generated.
[ 11% 11351/97665] target C++: libloc..._api/libloc_api_50001/loc_eng_agps.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.cpp:33:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.cpp:598:35: warning: unused parameter 'cb_data' [-Wunused-parameter]
int Servicer :: requestRsrc(void *cb_data)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.cpp:631:5: warning: field 'mEnforceSingleSubscriber' will be initialized after field 'mServicer' [-Wreorder]
mEnforceSingleSubscriber(enforceSingleSubscriber),
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.cpp:691:21: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion]
mAPN[len] = NULL;
~ ^~~~
'\0'
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.cpp:815:45: warning: unused parameter 'result' [-Wunused-parameter]
void delay_callback(void *callbackData, int result)
^
9 warnings generated.
[ 11% 11352/97665] target C++: libloc..._api/libloc_api_50001/loc_eng_nmea.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_nmea.cpp:32:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
5 warnings generated.
[ 11% 11353/97665] target C++: libloc.../libloc_api_50001/loc_eng_dmn_conn.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn.cpp:45:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_msg.h:39:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn.cpp:59:43: warning: unused parameter 'context' [-Wunused-parameter]
static int loc_api_server_proc_init(void *context)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn.cpp:112:42: warning: unused parameter 'context' [-Wunused-parameter]
static int loc_api_server_proc_pre(void *context)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn.cpp:167:43: warning: unused parameter 'context' [-Wunused-parameter]
static int loc_api_server_proc_post(void *context)
^
8 warnings generated.
[ 11% 11359/97665] target C++: libloc...api_50001/loc_eng_dmn_conn_handler.cpp
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn_handler.cpp:36:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_msg.h:39:
In file included from device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng.h:54:
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:270:1: warning: 'Subscriber' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct Subscriber {
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:46:1: note: did you mean struct here?
class Subscriber;
^~~~~
struct
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:380:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_agps.h:417:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn_handler.cpp:42:86: warning: unused parameter 'len' [-Wunused-parameter]
int loc_eng_dmn_conn_loc_api_server_if_request_handler(struct ctrl_msgbuf *pmsg, int len)
^
device/asus/msm8916-common/gps/loc_api/libloc_api_50001/loc_eng_dmn_conn_handler.cpp:144:86: warning: unused parameter 'len' [-Wunused-parameter]
int loc_eng_dmn_conn_loc_api_server_if_release_handler(struct ctrl_msgbuf *pmsg, int len)
^
7 warnings generated.
[ 11% 11360/97665] target C++: libloc...sm8916-common/gps/core/ContextBase.cpp
device/asus/msm8916-common/gps/core/ContextBase.cpp:43:45: warning: missing field 'ACCURACY_THRES' initializer [-Wmissing-field-initializers]
loc_gps_cfg_s_type ContextBase::mGps_conf {0};
^
device/asus/msm8916-common/gps/core/ContextBase.cpp:44:45: warning: missing field 'GYRO_BIAS_RANDOM_WALK' initializer [-Wmissing-field-initializers]
loc_sap_cfg_s_type ContextBase::mSap_conf {0};
^
2 warnings generated.
[ 11% 11361/97665] target C++: libloc...m8916-common/gps/core/loc_core_log.cpp
device/asus/msm8916-common/gps/core/loc_core_log.cpp:123:58: warning: unused parameter 'data' [-Wunused-parameter]
const char* loc_get_aiding_data_mask_names(GpsAidingData data)
^
1 warning generated.
[ 11% 11365/97665] target C++: libgps.../msm8916-common/gps/utils/LocTimer.cpp
device/asus/msm8916-common/gps/utils/LocTimer.cpp:286:37: warning: missing field 'tv_nsec' initializer [-Wmissing-field-initializers]
struct itimerspec delay = {0};
^
device/asus/msm8916-common/gps/utils/LocTimer.cpp:286:36: warning: suggest braces around initialization of subobject [-Wmissing-braces]
struct itimerspec delay = {0};
^
{}
device/asus/msm8916-common/gps/utils/LocTimer.cpp:286:37: warning: missing field 'it_value' initializer [-Wmissing-field-initializers]
struct itimerspec delay = {0};
^
device/asus/msm8916-common/gps/utils/LocTimer.cpp:377:33: warning: missing field 'tv_nsec' initializer [-Wmissing-field-initializers]
struct itimerspec delay = {0};
^
device/asus/msm8916-common/gps/utils/LocTimer.cpp:377:32: warning: suggest braces around initialization of subobject [-Wmissing-braces]
struct itimerspec delay = {0};
^
{}
device/asus/msm8916-common/gps/utils/LocTimer.cpp:377:33: warning: missing field 'it_value' initializer [-Wmissing-field-initializers]
struct itimerspec delay = {0};
^
6 warnings generated.
[ 11% 11367/97665] target C++: libgps...16-common/gps/utils/loc_misc_utils.cpp
device/asus/msm8916-common/gps/utils/loc_misc_utils.cpp:36:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "LocSvc_misc_utils"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 11% 11368/97665] target C++: libloc...msm8916-common/gps/core/LocApiBase.cpp
device/asus/msm8916-common/gps/core/LocApiBase.cpp:102:25: warning: 'loc_core::LocSsrMsg::log' hides overloaded virtual function [-Woverloaded-virtual]
inline virtual void log() {
^
out/target/product/X550/obj/include/gps.utils/MsgTask.h:38:25: note: hidden overloaded virtual function 'LocMsg::log' declared here: different qualifiers (const vs none)
inline virtual void log() const {}
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:123:25: warning: 'loc_core::LocOpenMsg::log' hides overloaded virtual function [-Woverloaded-virtual]
inline virtual void log() {
^
out/target/product/X550/obj/include/gps.utils/MsgTask.h:38:25: note: hidden overloaded virtual function 'LocMsg::log' declared here: different qualifiers (const vs none)
inline virtual void log() const {}
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:131:5: warning: field 'mExcludedMask' will be initialized after field 'mMsgTask' [-Wreorder]
mExcludedMask(excludedMask), mMsgTask(msgTask),
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:132:5: warning: field 'mMask' will be initialized after field 'mSupportedMsg' [-Wreorder]
mMask(0), mSupportedMsg(0), mContext(context)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:132:15: warning: field 'mSupportedMsg' will be initialized after field 'mContext' [-Wreorder]
mMask(0), mSupportedMsg(0), mContext(context)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:246:14: warning: format specifies type 'long long' but the argument has type 'GpsUtcTime' (aka 'long') [-Wformat]
location.gpsLocation.timestamp, location.rawDataSize,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/core/LocApiBase.cpp:248:14: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
locationExtended.gnss_sv_used_ids.gps_sv_used_ids_mask,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/core/LocApiBase.cpp:249:14: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
locationExtended.gnss_sv_used_ids.glo_sv_used_ids_mask,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/core/LocApiBase.cpp:250:14: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
locationExtended.gnss_sv_used_ids.bds_sv_used_ids_mask,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/core/LocApiBase.cpp:251:14: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
locationExtended.gnss_sv_used_ids.gal_sv_used_ids_mask);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/include/gps.utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/core/LocApiBase.cpp:383:38: warning: unused parameter 'mask' [-Wunused-parameter]
open(LOC_API_ADAPTER_EVENT_MASK_T mask)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:391:32: warning: unused parameter 'posMode' [-Wunused-parameter]
startFix(const LocPosMode& posMode)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:399:36: warning: unused parameter 'f' [-Wunused-parameter]
deleteAidingData(GpsAidingData f)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:403:20: warning: unused parameter 'enable' [-Wunused-parameter]
enableData(int enable)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:407:18: warning: unused parameter 'apn' [-Wunused-parameter]
setAPN(char* apn, int len)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:407:27: warning: unused parameter 'len' [-Wunused-parameter]
setAPN(char* apn, int len)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:411:27: warning: unused parameter 'latitude' [-Wunused-parameter]
injectPosition(double latitude, double longitude, float accuracy)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:411:44: warning: unused parameter 'longitude' [-Wunused-parameter]
injectPosition(double latitude, double longitude, float accuracy)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:411:61: warning: unused parameter 'accuracy' [-Wunused-parameter]
injectPosition(double latitude, double longitude, float accuracy)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:415:24: warning: unused parameter 'time' [-Wunused-parameter]
setTime(GpsUtcTime time, int64_t timeReference, int uncertainty)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:415:38: warning: unused parameter 'timeReference' [-Wunused-parameter]
setTime(GpsUtcTime time, int64_t timeReference, int uncertainty)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:415:57: warning: unused parameter 'uncertainty' [-Wunused-parameter]
setTime(GpsUtcTime time, int64_t timeReference, int uncertainty)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:419:23: warning: unused parameter 'data' [-Wunused-parameter]
setXtraData(char* data, int length)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:419:33: warning: unused parameter 'length' [-Wunused-parameter]
setXtraData(char* data, int length)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:427:22: warning: unused parameter 'handle' [-Wunused-parameter]
atlOpenStatus(int handle, int is_succ, char* apn,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:427:34: warning: unused parameter 'is_succ' [-Wunused-parameter]
atlOpenStatus(int handle, int is_succ, char* apn,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:427:49: warning: unused parameter 'apn' [-Wunused-parameter]
atlOpenStatus(int handle, int is_succ, char* apn,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:428:33: warning: unused parameter 'bear' [-Wunused-parameter]
AGpsBearerType bear, AGpsType agpsType)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:428:48: warning: unused parameter 'agpsType' [-Wunused-parameter]
AGpsBearerType bear, AGpsType agpsType)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:432:24: warning: unused parameter 'handle' [-Wunused-parameter]
atlCloseStatus(int handle, int is_succ)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:432:36: warning: unused parameter 'is_succ' [-Wunused-parameter]
atlCloseStatus(int handle, int is_succ)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:436:39: warning: unused parameter 'posMode' [-Wunused-parameter]
setPositionMode(const LocPosMode& posMode)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:440:27: warning: unused parameter 'url' [-Wunused-parameter]
setServer(const char* url, int len)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:440:36: warning: unused parameter 'len' [-Wunused-parameter]
setServer(const char* url, int len)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:444:28: warning: unused parameter 'ip' [-Wunused-parameter]
setServer(unsigned int ip, int port,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:444:36: warning: unused parameter 'port' [-Wunused-parameter]
setServer(unsigned int ip, int port,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:445:29: warning: unused parameter 'type' [-Wunused-parameter]
LocServerType type)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:449:42: warning: unused parameter 'userResponse' [-Wunused-parameter]
informNiResponse(GpsUserResponseType userResponse,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:450:34: warning: unused parameter 'passThroughData' [-Wunused-parameter]
const void* passThroughData)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:454:29: warning: unused parameter 'version' [-Wunused-parameter]
setSUPLVersion(uint32_t version)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:458:28: warning: unused parameter 'typesMask' [-Wunused-parameter]
setNMEATypes (uint32_t typesMask)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:462:27: warning: unused parameter 'profile' [-Wunused-parameter]
setLPPConfig(uint32_t profile)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:466:32: warning: unused parameter 'sensorUsage' [-Wunused-parameter]
setSensorControlConfig(int sensorUsage,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:467:32: warning: unused parameter 'sensorProvider' [-Wunused-parameter]
int sensorProvider)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:471:30: warning: unused parameter 'gyroBiasVarianceRandomWalk_valid' [-Wunused-parameter]
setSensorProperties(bool gyroBiasVarianceRandomWalk_valid,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:472:31: warning: unused parameter 'gyroBiasVarianceRandomWalk' [-Wunused-parameter]
float gyroBiasVarianceRandomWalk,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:473:30: warning: unused parameter 'accelBiasVarianceRandomWalk_valid' [-Wunused-parameter]
bool accelBiasVarianceRandomWalk_valid,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:474:31: warning: unused parameter 'accelBiasVarianceRandomWalk' [-Wunused-parameter]
float accelBiasVarianceRandomWalk,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:475:30: warning: unused parameter 'angleBiasVarianceRandomWalk_valid' [-Wunused-parameter]
bool angleBiasVarianceRandomWalk_valid,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:476:31: warning: unused parameter 'angleBiasVarianceRandomWalk' [-Wunused-parameter]
float angleBiasVarianceRandomWalk,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:477:30: warning: unused parameter 'rateBiasVarianceRandomWalk_valid' [-Wunused-parameter]
bool rateBiasVarianceRandomWalk_valid,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:478:31: warning: unused parameter 'rateBiasVarianceRandomWalk' [-Wunused-parameter]
float rateBiasVarianceRandomWalk,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:479:30: warning: unused parameter 'velocityBiasVarianceRandomWalk_valid' [-Wunused-parameter]
bool velocityBiasVarianceRandomWalk_valid,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:480:31: warning: unused parameter 'velocityBiasVarianceRandomWalk' [-Wunused-parameter]
float velocityBiasVarianceRandomWalk)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:484:36: warning: unused parameter 'controlMode' [-Wunused-parameter]
setSensorPerfControlConfig(int controlMode,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:485:36: warning: unused parameter 'accelSamplesPerBatch' [-Wunused-parameter]
int accelSamplesPerBatch,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:486:36: warning: unused parameter 'accelBatchesPerSec' [-Wunused-parameter]
int accelBatchesPerSec,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:487:36: warning: unused parameter 'gyroSamplesPerBatch' [-Wunused-parameter]
int gyroSamplesPerBatch,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:488:36: warning: unused parameter 'gyroBatchesPerSec' [-Wunused-parameter]
int gyroBatchesPerSec,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:489:36: warning: unused parameter 'accelSamplesPerBatchHigh' [-Wunused-parameter]
int accelSamplesPerBatchHigh,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:490:36: warning: unused parameter 'accelBatchesPerSecHigh' [-Wunused-parameter]
int accelBatchesPerSecHigh,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:491:36: warning: unused parameter 'gyroSamplesPerBatchHigh' [-Wunused-parameter]
int gyroSamplesPerBatchHigh,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:492:36: warning: unused parameter 'gyroBatchesPerSecHigh' [-Wunused-parameter]
int gyroBatchesPerSecHigh,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:493:36: warning: unused parameter 'algorithmConfig' [-Wunused-parameter]
int algorithmConfig)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:497:39: warning: unused parameter 'aGlonassProtocol' [-Wunused-parameter]
setAGLONASSProtocol(unsigned long aGlonassProtocol)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:501:39: warning: unused parameter 'lppeCP' [-Wunused-parameter]
setLPPeProtocol(unsigned long lppeCP, unsigned long lppeUP)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:501:61: warning: unused parameter 'lppeUP' [-Wunused-parameter]
setLPPeProtocol(unsigned long lppeCP, unsigned long lppeUP)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:505:31: warning: unused parameter 'zppLoc' [-Wunused-parameter]
getWwanZppFix(GpsLocation& zppLoc)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:540:34: warning: unused parameter 'lock' [-Wunused-parameter]
setGpsLock(LOC_GPS_LOCK_MASK lock)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:544:50: warning: unused parameter 'pData' [-Wunused-parameter]
installAGpsCert(const DerEncodedCertificate* pData,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:545:28: warning: unused parameter 'length' [-Wunused-parameter]
size_t length,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:546:30: warning: unused parameter 'slotBitMask' [-Wunused-parameter]
uint32_t slotBitMask)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:554:49: warning: unused parameter 'check' [-Wunused-parameter]
setXtraVersionCheck(enum xtra_version_check check)
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:558:57: warning: unused parameter 'event' [-Wunused-parameter]
updateRegistrationMask(LOC_API_ADAPTER_EVENT_MASK_T event,
^
device/asus/msm8916-common/gps/core/LocApiBase.cpp:559:57: warning: unused parameter 'isEnabled' [-Wunused-parameter]
loc_registration_mask_status isEnabled)
^
75 warnings generated.
[ 11% 11370/97665] target C++: libloc...916-common/gps/core/LocAdapterBase.cpp
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:70:26: warning: unused parameter 'locationExt' [-Wunused-parameter]
void* locationExt,
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:83:28: warning: unused parameter 'svStatus' [-Wunused-parameter]
reportSv(GnssSvStatus &svStatus,
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:84:35: warning: unused parameter 'locationExtended' [-Wunused-parameter]
GpsLocationExtended &locationExtended,
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:85:20: warning: unused parameter 'svExt' [-Wunused-parameter]
void* svExt)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:90:33: warning: unused parameter 'status' [-Wunused-parameter]
reportStatus(GpsStatusValue status)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:95:28: warning: unused parameter 'nmea' [-Wunused-parameter]
reportNmea(const char* nmea, int length)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:95:38: warning: unused parameter 'length' [-Wunused-parameter]
reportNmea(const char* nmea, int length)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:99:34: warning: unused parameter 'url1' [-Wunused-parameter]
reportXtraServer(const char* url1, const char* url2,
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:99:52: warning: unused parameter 'url2' [-Wunused-parameter]
reportXtraServer(const char* url1, const char* url2,
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:100:34: warning: unused parameter 'url3' [-Wunused-parameter]
const char* url3, const int maxlength)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:100:50: warning: unused parameter 'maxlength' [-Wunused-parameter]
const char* url3, const int maxlength)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:116:20: warning: unused parameter 'connHandle' [-Wunused-parameter]
requestATL(int connHandle, AGpsType agps_type)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:116:41: warning: unused parameter 'agps_type' [-Wunused-parameter]
requestATL(int connHandle, AGpsType agps_type)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:120:20: warning: unused parameter 'connHandle' [-Wunused-parameter]
releaseATL(int connHandle)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:124:23: warning: unused parameter 'connHandle' [-Wunused-parameter]
requestSuplES(int connHandle)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:136:40: warning: unused parameter 'notify' [-Wunused-parameter]
requestNiNotify(GpsNiNotification &notify, const void* data)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:136:60: warning: unused parameter 'data' [-Wunused-parameter]
requestNiNotify(GpsNiNotification &notify, const void* data)
^
device/asus/msm8916-common/gps/core/LocAdapterBase.cpp:140:41: warning: unused parameter 'gnssMeasurementData' [-Wunused-parameter]
reportGnssMeasurementData(GnssData &gnssMeasurementData)
^
18 warnings generated.
[ 11% 11373/97665] target C: libgps.u.../asus/msm8916-common/gps/utils/msg_q.c
device/asus/msm8916-common/gps/utils/msg_q.c:202:73: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
LOC_LOGV("%s: Sending message with handle = 0x%08X\n", __FUNCTION__, msg_obj);
~~~~ ^~~~~~~
device/asus/msm8916-common/gps/utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/utils/msg_q.c:218:82: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
LOC_LOGV("%s: Finished Sending message with handle = 0x%08X\n", __FUNCTION__, msg_obj);
~~~~ ^~~~~~~
device/asus/msm8916-common/gps/utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
device/asus/msm8916-common/gps/utils/msg_q.c:266:68: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
LOC_LOGV("%s: Received message 0x%08X rv = %d\n", __FUNCTION__, *msg_obj, rv);
~~~~ ^~~~~~~~
device/asus/msm8916-common/gps/utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
3 warnings generated.
[ 11% 11377/97665] target C: libgps.u...msm8916-common/gps/utils/linked_list.c
device/asus/msm8916-common/gps/utils/linked_list.c:112:69: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
LOC_LOGV("%s: Adding to list data_obj = 0x%08X\n", __FUNCTION__, data_obj);
~~~~ ^~~~~~~~
device/asus/msm8916-common/gps/utils/log_util.h:109:43: note: expanded from macro 'LOC_LOGV'
#define LOC_LOGV(...) IF_LOC_LOGV { ALOGV(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
[ 11% 11449/97665] target C: libOmxAa...mm-audio/aenc-aac/qdsp6/src/aenc_svr.c
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/aenc_svr.c:35:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_AACENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 11% 11451/97665] target C: libOmxAm...-audio/aenc-amrnb/qdsp6/src/aenc_svr.c
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/aenc_svr.c:35:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_AMRENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 11% 11455/97665] target C++: libOmx...io/aenc-aac/qdsp6/src/omx_aac_aenc.cpp
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:41:
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:56:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_AACENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:276:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
output_buffer_size((OMX_U32)OMX_AAC_OUTPUT_BUFFER_SIZE),
^~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:139:54: note: expanded from macro 'OMX_AAC_OUTPUT_BUFFER_SIZE'
+ 1023) & (~1023))
~ ^~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:819:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:933:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
else if ((state == OMX_StatePause))
~~~~~~^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:933:21: note: remove extraneous parentheses around the comparison to silence this warning
else if ((state == OMX_StatePause))
~ ^ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:933:21: note: use '=' to turn this equality comparison into an assignment
else if ((state == OMX_StatePause))
^~
=
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1134:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
(OMX_U8*)malloc(sizeof(OMX_U8)*OMX_AAC_OUTPUT_BUFFER_SIZE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:139:54: note: expanded from macro 'OMX_AAC_OUTPUT_BUFFER_SIZE'
+ 1023) & (~1023))
~ ^~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1155:24: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
~~~~~ ^~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
#define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1260:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1304:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1337:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1354:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1365:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1376:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1394:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1421:36: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
#define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1434:36: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_AAC_ENC_CONFIG,
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio_aac.h:14:35: note: expanded from macro 'AUDIO_GET_AAC_ENC_CONFIG'
#define AUDIO_GET_AAC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1443:17: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
get_updated_bit_rate(m_aac_param.nBitRate);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1443:50: warning: implicit conversion changes signedness: 'OMX_U32' (aka 'unsigned int') to 'int' [-Wsign-conversion]
get_updated_bit_rate(m_aac_param.nBitRate);
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1477:37: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if (ioctl(m_drv_fd, AUDIO_GET_AAC_CONFIG, &drv_aac_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio_aac.h:8:31: note: expanded from macro 'AUDIO_GET_AAC_CONFIG'
#define AUDIO_GET_AAC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1541:41: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
~~~~~ ^~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
#define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1565:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1578:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1586:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1603:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1622:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1638:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1646:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1653:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1661:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1698:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1707:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1715:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1722:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1730:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1752:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1760:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1768:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1777:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1800:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:1825:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2303:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2304:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
omx_buf->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2316:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2317:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
omx_buf->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2766:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
component_Role.nVersion,
^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
#define DEBUG_PRINT_ERROR LOGE
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
#define LOGE ALOGE
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:2827:52: warning: implicit conversion changes signedness: 'OMX_U32' (aka 'unsigned int') to 'OMX_S32' (aka 'int') [-Wsign-conversion]
sample_idx = sample_idx_tbl[loop].sample_rate_idx;
~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3168:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3282:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3283:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
peerPort = peerPort;
~~~~~~~~ ^ ~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3323:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3377:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3471:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3482:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3491:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3575:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3584:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3594:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3659:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3744:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3876:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3885:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3917:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3950:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3963:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:3973:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4093:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
~~ ^~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4105:22: warning: implicit conversion changes signedness: 'OMX_TICKS' (aka 'long long') to 'OMX_U64' (aka 'unsigned long long') [-Wsign-conversion]
ts = buffer->nTimeStamp;
~ ~~~~~~~~^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4119:19: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4170:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
buffer->nAllocLen,m_tmp_out_meta_buf,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4171:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
nReadbytes,nNumOutputBuf);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4179:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
metainfo = (int)((sizeof(ENC_META_OUT) * numframes)+
~ ^~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4189:55: warning: implicit conversion changes signedness: 'OMX_S32' (aka 'int') to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
audaac_rec_install_adif_header_variable(0,sample_idx,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4191:55: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
memcpy(buffer->pBuffer,m_tmp_out_meta_buf,metainfo);
~~~~~~ ^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4192:70: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
memcpy(buffer->pBuffer + metainfo,&audaac_header_adif[0],szadifhr);
~~~~~~ ^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4194:55: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
m_tmp_out_meta_buf + metainfo,(nReadbytes - metainfo));
~~~~~~~~~~~^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4197:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_out->frame_size += szadifhr;
~~ ^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4203:47: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_out->offset_to_frame += szadifhr;
~~ ^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4213:56: warning: implicit conversion changes signedness: 'OMX_S32' (aka 'int') to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
audaac_rec_install_mp4ff_header_variable(0,sample_idx,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4232:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
nReadbytes,nNumOutputBuf);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4237:37: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4246:23: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4254:34: warning: implicit conversion changes signedness: 'unsigned long long' to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = ts + (frameduration * m_frame_count);
~ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4256:31: warning: implicit conversion changes signedness: 'OMX_TICKS' (aka 'long long') to 'OMX_U64' (aka 'unsigned long long') [-Wsign-conversion]
nTimestamp = buffer->nTimeStamp;
~ ~~~~~~~~^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4270:36: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4461:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4591:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
bufferHdr = bufferHdr;
~~~~~~~~~ ^ ~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:4592:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:5064:47: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
max_bitrate = m_aac_param.nSampleRate *
~ ~~~~~~~~~~~~~~~~~~~~~~~~^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:5069:33: warning: implicit conversion changes signedness: 'OMX_U32' (aka 'unsigned int') to 'int' [-Wsign-conversion]
min_bitrate = m_aac_param.nSampleRate;
~ ~~~~~~~~~~~~^~~~~~~~~~~
88 warnings generated.
[ 11% 11461/97665] target C++: libOmx.../aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:41:
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:57:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_AMRENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:818:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:932:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
else if ((state == OMX_StatePause))
~~~~~~^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:932:21: note: remove extraneous parentheses around the comparison to silence this warning
else if ((state == OMX_StatePause))
~ ^ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:932:21: note: use '=' to turn this equality comparison into an assignment
else if ((state == OMX_StatePause))
^~
=
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1149:24: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
~~~~~ ^~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
#define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1254:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1298:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1331:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1348:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1359:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1370:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1388:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1415:36: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
#define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1437:28: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_SET_AMRNB_ENC_CONFIG_V2, &drv_amr_enc_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio_amrnb.h:13:40: note: expanded from macro 'AUDIO_SET_AMRNB_ENC_CONFIG_V2'
#define AUDIO_SET_AMRNB_ENC_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC, \
^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1457:41: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
~~~~~ ^~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
#define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1479:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1491:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1499:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1516:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1535:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1551:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1559:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1566:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1574:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1611:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1620:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1628:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1635:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1643:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1665:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1673:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1681:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1690:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1713:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:1738:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2217:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2218:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
omx_buf->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2230:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_U64' (aka 'unsigned long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2231:39: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
omx_buf->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:2678:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
component_Role.nVersion,
^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
#define DEBUG_PRINT_ERROR LOGE
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
#define LOGE ALOGE
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3069:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3183:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3184:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
peerPort = peerPort;
~~~~~~~~ ^ ~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3224:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3278:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3371:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3382:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3391:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3475:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3484:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3494:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3559:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3644:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3776:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3785:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3817:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3850:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3863:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3875:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/omx_amr_aenc.h:103:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:3993:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
~~ ^~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4043:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
buffer->nAllocLen,buffer->pBuffer,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4044:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
nReadbytes,nNumOutputBuf);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4048:38: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4052:45: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
DEBUG_PRINT("Read bytes %d\n",nReadbytes);
~~ ^~~~~~~~~~
%zd
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:63:27: note: expanded from macro 'DEBUG_PRINT'
#define DEBUG_PRINT LOGI
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/inc/aenc_svr.h:59:14: note: expanded from macro 'LOGI'
#define LOGI ALOGI
^
system/core/liblog/include/log/log_main.h:214:51: note: expanded from macro 'ALOGI'
#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4066:32: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = ts;
~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4067:32: warning: implicit conversion changes signedness: 'OMX_TICKS' (aka 'long long') to 'OMX_U64' (aka 'unsigned long long') [-Wsign-conversion]
nTimestamp = buffer->nTimeStamp;
~ ~~~~~~~~^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4076:36: warning: implicit conversion changes signedness: 'OMX_U64' (aka 'unsigned long long') to 'OMX_TICKS' (aka 'long long') [-Wsign-conversion]
buffer->nTimeStamp = nTimestamp;
~ ^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4264:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4394:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
bufferHdr = bufferHdr;
~~~~~~~~~ ^ ~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-amrnb/qdsp6/src/omx_amr_aenc.cpp:4395:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
69 warnings generated.
[ 11% 11466/97665] target C: libOmxEv...m-audio/aenc-evrc/qdsp6/src/aenc_svr.c
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/aenc_svr.c:35:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_EVRCENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 11% 11469/97665] target C: libOmxQc...udio/aenc-qcelp13/qdsp6/src/aenc_svr.c
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/aenc_svr.c:35:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_QCELP13ENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
1 warning generated.
[ 11% 11472/97665] target C++: libOmx.../aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:41:
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:56:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_EVRCENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:455:74: warning: more '%' conversions than data arguments [-Wformat]
DEBUG_DETAIL("EBD CB:: in_buf_len=%d nNumInputBuf=%d %d ebd_cnt %d \n",\
~^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:814:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:928:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
else if ((state == OMX_StatePause))
~~~~~~^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:928:21: note: remove extraneous parentheses around the comparison to silence this warning
else if ((state == OMX_StatePause))
~ ^ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:928:21: note: use '=' to turn this equality comparison into an assignment
else if ((state == OMX_StatePause))
^~
=
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1151:24: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
~~~~~ ^~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
#define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1256:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1300:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1333:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1350:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1361:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1372:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1390:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1417:36: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
#define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1430:36: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_EVRC_ENC_CONFIG,
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio_qcp.h:15:36: note: expanded from macro 'AUDIO_GET_EVRC_ENC_CONFIG'
#define AUDIO_GET_EVRC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1458:41: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
~~~~~ ^~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
#define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1480:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1493:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1501:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1518:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1537:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1553:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1561:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1568:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1576:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1613:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1622:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1630:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1637:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1645:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1667:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1675:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1683:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1692:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1715:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:1740:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:2219:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:2232:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:2680:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
component_Role.nVersion,
^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
#define DEBUG_PRINT_ERROR LOGE
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
#define LOGE ALOGE
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3071:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3185:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3186:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
peerPort = peerPort;
~~~~~~~~ ^ ~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3226:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3280:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3373:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3384:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3393:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3477:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3486:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3496:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3561:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3646:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3778:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3787:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3819:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3852:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3865:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3877:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/omx_evrc_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:3997:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
~~ ^~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4018:19: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4061:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
buffer->nAllocLen,buffer->pBuffer,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4062:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
nReadbytes,nNumOutputBuf);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4075:20: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4080:45: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
DEBUG_PRINT("Read bytes %d\n",nReadbytes);
~~ ^~~~~~~~~~
%zd
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:63:27: note: expanded from macro 'DEBUG_PRINT'
#define DEBUG_PRINT LOGI
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/inc/aenc_svr.h:59:14: note: expanded from macro 'LOGI'
#define LOGI ALOGI
^
system/core/liblog/include/log/log_main.h:214:51: note: expanded from macro 'ALOGI'
#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4291:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4419:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
bufferHdr = bufferHdr;
~~~~~~~~~ ^ ~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-evrc/qdsp6/src/omx_evrc_aenc.cpp:4420:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
66 warnings generated.
[ 11% 11474/97665] target C++: sensor...us/msm8916-common/sensors/multihal.cpp
device/asus/msm8916-common/sensors/multihal.cpp:618:36: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
sensor.handle, sensor.flags, new_flags);
^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
[ 11% 11475/97665] target C++: libOmx...qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:41:
In file included from hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:56:
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:39:9: warning: 'LOG_TAG' macro redefined [-Wmacro-redefined]
#define LOG_TAG "QC_QCELP13ENC"
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is here
#define LOG_TAG NULL
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:816:42: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:930:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
else if ((state == OMX_StatePause))
~~~~~~^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:930:21: note: remove extraneous parentheses around the comparison to silence this warning
else if ((state == OMX_StatePause))
~ ^ ~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:930:21: note: use '=' to turn this equality comparison into an assignment
else if ((state == OMX_StatePause))
^~
=
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1153:24: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_SESSION_ID,&m_session_id) == -1)
~~~~~ ^~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:81:30: note: expanded from macro 'AUDIO_GET_SESSION_ID'
#define AUDIO_GET_SESSION_ID _IOR(AUDIO_IOCTL_MAGIC, 82, unsigned short)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1258:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1302:17: warning: explicitly assigning value of variable of type 'OMX_PTR' (aka 'void *') to itself [-Wself-assign]
cmdData = cmdData;
~~~~~~~ ^ ~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1335:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1352:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1363:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1374:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1392:34: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1419:36: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_STREAM_CONFIG, &drv_stream_config)
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:79:35: note: expanded from macro 'AUDIO_GET_STREAM_CONFIG'
#define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1432:36: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if(ioctl(m_drv_fd, AUDIO_GET_QCELP_ENC_CONFIG,
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio_qcp.h:9:37: note: expanded from macro 'AUDIO_GET_QCELP_ENC_CONFIG'
#define AUDIO_GET_QCELP_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
^~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1460:41: warning: implicit conversion changes signedness: 'unsigned long' to 'int' [-Wsign-conversion]
if (ioctl(m_drv_fd, AUDIO_GET_CONFIG, &pcm_cfg) == -1)
~~~~~ ^~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/linux/msm_audio.h:30:28: note: expanded from macro 'AUDIO_GET_CONFIG'
#define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:75:28: note: expanded from macro '_IOR'
#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
out/target/product/X550/obj/KERNEL_OBJ/usr/include/asm-generic/ioctl.h:68:28: note: expanded from macro '_IOC'
((nr) << _IOC_NRSHIFT) | \
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1489:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1497:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1514:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1533:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1549:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1557:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1564:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1572:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1609:39: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1618:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1626:6: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1633:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1641:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1663:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorSameState,
^~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1671:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1679:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorIncorrectStateTransition,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1688:41: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1711:57: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_EventError, OMX_ErrorInvalidState,
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:1736:35: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_CommandFlush, OMX_ErrorBadPortIndex, NULL );
^~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:2215:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:2228:38: warning: format specifies type 'unsigned int' but the argument has type 'OMX_TICKS' (aka 'long long') [-Wformat]
omx_buf,nTimestamp);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:2677:20: warning: format specifies type 'int' but the argument has type 'OMX_VERSIONTYPE' [-Wformat]
component_Role.nVersion,
^~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:62:27: note: expanded from macro 'DEBUG_PRINT_ERROR'
#define DEBUG_PRINT_ERROR LOGE
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:43:14: note: expanded from macro 'LOGE'
#define LOGE ALOGE
^
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3068:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_MUTED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3182:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3183:18: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
peerPort = peerPort;
~~~~~~~~ ^ ~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3223:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3277:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3370:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3381:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3390:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3474:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR(&m_flags, OMX_COMPONENT_IDLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3483:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3493:17: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_ENABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3558:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3643:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3776:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3785:22: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'unsigned int' [-Wsign-conversion]
OMX_ErrorPortUnpopulated,
^~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3817:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_INPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3850:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_OUTPUT_DISABLE_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3863:26: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
if (release_done(-1))
~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3875:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
BITMASK_CLEAR((&m_flags),OMX_COMPONENT_LOADING_PENDING);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/omx_qcelp13_aenc.h:102:50: note: expanded from macro 'BITMASK_CLEAR'
(mArray)[BITMASK_OFFSET(mIndex)] &= ~(BITMASK_FLAG(mIndex))
~~ ^~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:3995:27: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
meta_in.nFlags &= ~OMX_BUFFERFLAG_EOS;
~~ ^~~~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4016:19: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4059:26: warning: format specifies type 'unsigned long' but the argument has type 'OMX_U32' (aka 'unsigned int') [-Wformat]
buffer->nAllocLen,buffer->pBuffer,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4060:26: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
nReadbytes,nNumOutputBuf);
^~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:64:27: note: expanded from macro 'DEBUG_DETAIL'
#define DEBUG_DETAIL LOGV
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:55:14: note: expanded from macro 'LOGV'
#define LOGV ALOGV
^
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4073:20: warning: implicit conversion changes signedness: 'OMX_ERRORTYPE' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
OMX_ErrorHardware,
^~~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4078:45: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
DEBUG_PRINT("Read bytes %d\n",nReadbytes);
~~ ^~~~~~~~~~
%zd
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:63:27: note: expanded from macro 'DEBUG_PRINT'
#define DEBUG_PRINT LOGI
^
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/inc/aenc_svr.h:59:14: note: expanded from macro 'LOGI'
#define LOGI ALOGI
^
system/core/liblog/include/log/log_main.h:214:51: note: expanded from macro 'ALOGI'
#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4291:31: warning: implicit conversion changes signedness: 'int' to 'OMX_U32' (aka 'unsigned int') [-Wsign-conversion]
execute_omx_flush(-1);
~~~~~~~~~~~~~~~~~ ^~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4419:19: warning: explicitly assigning value of variable of type 'OMX_BUFFERHEADERTYPE **' to itself [-Wself-assign]
bufferHdr = bufferHdr;
~~~~~~~~~ ^ ~~~~~~~~~
hardware/qcom/audio-caf/msm8916/mm-audio/aenc-qcelp13/qdsp6/src/omx_qcelp13_aenc.cpp:4420:14: warning: explicitly assigning value of variable of type 'OMX_U32' (aka 'unsigned int') to itself [-Wself-assign]
port = port;
~~~~ ^ ~~~~
64 warnings generated.
[ 11% 11496/97665] target C++: libc2d...bc2dcolorconvert/C2DColorConverter.cpp
hardware/qcom/media-caf/msm8916/libc2dcolorconvert/C2DColorConverter.cpp:501:66: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
ALOGV("NV12_2k, width = %d, height = %d, size = %d", width, height, size);
~~ ^~~~~
%zu
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/media-caf/msm8916/libc2dcolorconvert/C2DColorConverter.cpp:501:73: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
ALOGV("NV12_2k, width = %d, height = %d, size = %d", width, height, size);
~~ ^~~~~~
%zu
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/media-caf/msm8916/libc2dcolorconvert/C2DColorConverter.cpp:526:40: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
status, bufFD, bufPtr, bufLen, KGSL_USER_MEM_TYPE_ION);
^~~~~~
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/media-caf/msm8916/libc2dcolorconvert/C2DColorConverter.cpp:530:37: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
gpuaddr, bufFD, bufPtr, bufLen);
^~~~~~
system/core/liblog/include/log/log_main.h:179:15: note: expanded from macro 'ALOGV'
__ALOGV(__VA_ARGS__); \
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:174:56: note: expanded from macro '__ALOGV'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
4 warnings generated.
[ 11% 11503/97665] target C: libbt-ve...-caf/libbt-vendor/src/bt_vendor_qcom.c
hardware/qcom/bt-caf/libbt-vendor/src/bt_vendor_qcom.c:1358:14: warning: implicit conversion from enumeration type 'ant_serial' to different enumeration type 'bt_vendor_opcode_t' [-Wenum-conversion]
__op(BT_VND_OP_ANT_USERIAL_CLOSE, NULL);
~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 12% 11891/97665] target C: libqcomp...m/audio-caf/msm8916/post_proc/bundle.c
hardware/qcom/audio-caf/msm8916/post_proc/bundle.c:461:62: warning: unused parameter 'query' [-Wunused-parameter]
void offload_effects_bundle_get_parameters(struct str_parms *query,
^
hardware/qcom/audio-caf/msm8916/post_proc/bundle.c:462:62: warning: unused parameter 'reply' [-Wunused-parameter]
struct str_parms *reply)
^
hardware/qcom/audio-caf/msm8916/post_proc/bundle.c:468:62: warning: unused parameter 'parms' [-Wunused-parameter]
void offload_effects_bundle_set_parameters(struct str_parms *parms)
^
3 warnings generated.
[ 12% 11892/97665] target C: libqcomp...udio-caf/msm8916/post_proc/equalizer.c
hardware/qcom/audio-caf/msm8916/post_proc/equalizer.c:435:42: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
vsize, (2 + NUM_EQ_BANDS) * sizeof(int16_t));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:240:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:306:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:70:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
system/core/liblog/include/log/log_main.h:61:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/post_proc/equalizer.c:390:19: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned long' [-Wsign-compare]
if (vsize < sizeof(int16_t)) {
~~~~~ ^ ~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/post_proc/equalizer.c:403:19: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned long' [-Wsign-compare]
if (vsize < sizeof(int16_t)) {
~~~~~ ^ ~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/post_proc/equalizer.c:420:19: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned long' [-Wsign-compare]
if (vsize < sizeof(int16_t)) {
~~~~~ ^ ~~~~~~~~~~~~~~~
hardware/qcom/audio-caf/msm8916/post_proc/equalizer.c:432:23: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned long' [-Wsign-compare]
if (vsize < (2 + NUM_EQ_BANDS) * sizeof(int16_t)) {
~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[ 12% 11912/97665] target C: libqcomv...sm8916/visualizer/offload_visualizer.c
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:88:3: warning: redefinition of typedef 'output_context_t' is a C11 feature [-Wtypedef-redefinition]
} output_context_t;
^
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:50:33: note: previous definition is here
typedef struct output_context_s output_context_t;
^
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1318:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
tag : AUDIO_EFFECT_LIBRARY_TAG,
^~~~~
.tag =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1319:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
version : EFFECT_LIBRARY_API_VERSION,
^~~~~~~~~
.version =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1320:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
name : "Visualizer Library",
^~~~~~
.name =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1321:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
implementor : "The Android Open Source Project",
^~~~~~~~~~~~~
.implementor =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1322:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
create_effect : effect_lib_create,
^~~~~~~~~~~~~~~
.create_effect =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1323:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
release_effect : effect_lib_release,
^~~~~~~~~~~~~~~~
.release_effect =
hardware/qcom/audio-caf/msm8916/visualizer/offload_visualizer.c:1324:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
get_descriptor : effect_lib_get_descriptor,
^~~~~~~~~~~~~~~~
.get_descriptor =
8 warnings generated.
[ 12% 11914/97665] target C: libqcomv...16/voice_processing/voice_processing.c
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:761:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
tag : AUDIO_EFFECT_LIBRARY_TAG,
^~~~~
.tag =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:762:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
version : EFFECT_LIBRARY_API_VERSION,
^~~~~~~~~
.version =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:763:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
name : "MSM8960 Audio Preprocessing Library",
^~~~~~
.name =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:764:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
implementor : "The Android Open Source Project",
^~~~~~~~~~~~~
.implementor =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:765:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
create_effect : lib_create,
^~~~~~~~~~~~~~~
.create_effect =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:766:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
release_effect : lib_release,
^~~~~~~~~~~~~~~~
.release_effect =
hardware/qcom/audio-caf/msm8916/voice_processing/voice_processing.c:767:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
get_descriptor : lib_get_descriptor
^~~~~~~~~~~~~~~~
.get_descriptor =
7 warnings generated.
[ 12% 11967/97665] target C++: 7z <= .../p7zip/CPP/7zip/Common/FileStreams.cpp
In file included from external/p7zip/CPP/7zip/Common/FileStreams.cpp:16:
external/p7zip/CPP/7zip/Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
1 warning generated.
[ 12% 11974/97665] target C++: 7z <= ...l/p7zip/CPP/7zip/Common/UniqBlocks.cpp
In file included from external/p7zip/CPP/7zip/Common/UniqBlocks.cpp:7:
external/p7zip/CPP/7zip/Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
1 warning generated.
[ 12% 11977/97665] target C++: 7z <= .../7zip/UI/Common/ArchiveCommandLine.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:27:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.h:7:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:27:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:13:
external/p7zip/CPP/7zip/UI/Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:27:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Common/IFileExtractCallback.h:11:
In file included from external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:8:
external/p7zip/CPP/7zip/UI/Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:27:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Common/IFileExtractCallback.h:11:
external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:27:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:22:
In file included from external/p7zip/CPP/7zip/UI/Common/HashCalc.h:11:
In file included from external/p7zip/CPP/7zip/UI/Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:27:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:22:
external/p7zip/CPP/7zip/UI/Common/HashCalc.h:95:19: warning: field 'StdInMode' will be initialized after field 'OpenShareForWrite' [-Wreorder]
CHashOptions(): StdInMode(false), OpenShareForWrite(false), AltStreamsMode(false), PathMode(NWildcard::k_RelatPath) {};
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:27:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.h:9:
external/p7zip/CPP/7zip/UI/Common/Extract.h:56:7: warning: field 'TestMode' will be initialized after field 'StdInMode' [-Wreorder]
TestMode(false),
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:27:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.h:11:
external/p7zip/CPP/7zip/UI/Common/Update.h:128:5: warning: field 'EMailRemoveAfter' will be initialized after field 'OpenShareForWrite' [-Wreorder]
EMailRemoveAfter(false),
^
external/p7zip/CPP/7zip/UI/Common/Update.h:129:5: warning: field 'OpenShareForWrite' will be initialized after field 'ArcNameMode' [-Wreorder]
OpenShareForWrite(false),
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:162:15: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
static inline const EArcNameMode ParseArcNameMode(int postCharIndex)
^~~~~~
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:199:9: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "?" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:200:9: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "h" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:201:13: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "-help" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:203:10: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "ba" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:204:10: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "bd" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:205:10: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "bt" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:206:42: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "bb", NSwitchType::kString, false, 0 },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:212:9: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "y" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:214:10: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "ad" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:217:42: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "t", NSwitchType::kString, false, 1 },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:218:42: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "stx", NSwitchType::kString, true, 1 },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:220:41: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "m", NSwitchType::kString, true, 1 },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:221:42: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "o", NSwitchType::kString, false, 1 },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:222:32: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "w", NSwitchType::kString },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:224:66: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "i", NSwitchType::kString, true, kSomeCludePostStringMinSize},
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:225:66: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "x", NSwitchType::kString, true, kSomeCludePostStringMinSize},
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:226:66: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "ai", NSwitchType::kString, true, kSomeCludePostStringMinSize},
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:227:66: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "ax", NSwitchType::kString, true, kSomeCludePostStringMinSize},
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:228:10: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "an" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:230:40: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "u", NSwitchType::kString, true, 1},
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:231:40: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "v", NSwitchType::kString, true, 1},
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:234:33: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "stm", NSwitchType::kString },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:235:33: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "sfx", NSwitchType::kString },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:236:43: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "seml", NSwitchType::kString, false, 0},
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:237:43: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "scrc", NSwitchType::kString, true, 0 },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:239:32: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "si", NSwitchType::kString },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:240:10: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "so" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:242:32: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "slp", NSwitchType::kMinus },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:243:33: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "scs", NSwitchType::kString },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:244:33: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "scc", NSwitchType::kString },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:245:11: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "slt" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:247:9: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "l" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:249:11: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "ssw" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:250:32: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "ssc", NSwitchType::kMinus },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:253:11: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "spd" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:254:32: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "spe", NSwitchType::kMinus },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:255:43: warning: missing field 'PostCharSet' initializer [-Wmissing-field-initializers]
{ "spf", NSwitchType::kString, false, 0 },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:257:32: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "snh", NSwitchType::kMinus },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:258:32: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "snl", NSwitchType::kMinus },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:259:11: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "sni" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:260:32: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
{ "sns", NSwitchType::kMinus },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:261:11: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "snr" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:262:11: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "snc" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:264:12: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "sdel" },
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:265:11: warning: missing field 'Type' initializer [-Wmissing-field-initializers]
{ "stl" }
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:268:34: warning: missing field 'Multi' initializer [-Wmissing-field-initializers]
, { "p", NSwitchType::kString }
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:286:11: warning: 8 enumeration values not handled in switch: 'kAdd', 'kUpdate', 'kDelete'... [-Wswitch]
switch (CommandType)
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:298:11: warning: 9 enumeration values not handled in switch: 'kAdd', 'kUpdate', 'kDelete'... [-Wswitch]
switch (CommandType)
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:309:11: warning: 7 enumeration values not handled in switch: 'kTest', 'kExtract', 'kExtractFull'... [-Wswitch]
switch (CommandType)
^
external/p7zip/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:365:11: warning: enumeration value 'kNonRecursed' not handled in switch [-Wswitch]
switch (type)
^
60 warnings generated.
[ 12% 11979/97665] target C++: 7z <= ...7zip/UI/Common/ArchiveOpenCallback.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp:10:
external/p7zip/CPP/7zip/UI/Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp:12:
external/p7zip/CPP/7zip/UI/Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
2 warnings generated.
[ 12% 11980/97665] target C++: 7z <= ...p/UI/Common/ArchiveExtractCallback.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:13:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:33:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:13:
external/p7zip/CPP/7zip/UI/Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:33:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Common/IFileExtractCallback.h:11:
In file included from external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:8:
external/p7zip/CPP/7zip/UI/Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:33:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Common/IFileExtractCallback.h:11:
external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:33:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:22:
In file included from external/p7zip/CPP/7zip/UI/Common/HashCalc.h:11:
In file included from external/p7zip/CPP/7zip/UI/Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:33:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:22:
external/p7zip/CPP/7zip/UI/Common/HashCalc.h:95:19: warning: field 'StdInMode' will be initialized after field 'OpenShareForWrite' [-Wreorder]
CHashOptions(): StdInMode(false), OpenShareForWrite(false), AltStreamsMode(false), PathMode(NWildcard::k_RelatPath) {};
^
external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:843:13: warning: enumeration value 'kAbsPaths' not handled in switch [-Wswitch]
switch (_pathMode)
^
external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:1082:15: warning: enumeration values 'kOverwrite', 'kRename', and 'kRenameExisting' not handled in switch [-Wswitch]
switch (_overwriteMode)
^
external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:1636:21: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i != _delayedSymLinks.Size(); ++i)
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
9 warnings generated.
[ 12% 11981/97665] target C++: 7z <= .../7zip/UI/Common/ExtractingFilePath.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/ExtractingFilePath.cpp:5:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
external/p7zip/CPP/7zip/UI/Common/ExtractingFilePath.cpp:115:48: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (s[0] == '.' && (s[1] == 0 || s[1] == '.' && s[2] == 0))
~~ ~~~~~~~~~~~~^~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/ExtractingFilePath.cpp:115:48: note: place parentheses around the '&&' expression to silence this warning
if (s[0] == '.' && (s[1] == 0 || s[1] == '.' && s[2] == 0))
^
( )
2 warnings generated.
[ 12% 11982/97665] target C++: 7z <= ...l/p7zip/CPP/7zip/UI/Common/Extract.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:7:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:13:
external/p7zip/CPP/7zip/UI/Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Common/IFileExtractCallback.h:11:
In file included from external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:8:
external/p7zip/CPP/7zip/UI/Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Common/IFileExtractCallback.h:11:
external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:22:
In file included from external/p7zip/CPP/7zip/UI/Common/HashCalc.h:11:
In file included from external/p7zip/CPP/7zip/UI/Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/ArchiveExtractCallback.h:22:
external/p7zip/CPP/7zip/UI/Common/HashCalc.h:95:19: warning: field 'StdInMode' will be initialized after field 'OpenShareForWrite' [-Wreorder]
CHashOptions(): StdInMode(false), OpenShareForWrite(false), AltStreamsMode(false), PathMode(NWildcard::k_RelatPath) {};
^
In file included from external/p7zip/CPP/7zip/UI/Common/Extract.cpp:15:
external/p7zip/CPP/7zip/UI/Common/Extract.h:56:7: warning: field 'TestMode' will be initialized after field 'StdInMode' [-Wreorder]
TestMode(false),
^
7 warnings generated.
[ 12% 11983/97665] target C++: 7z <= ...ip/CPP/7zip/UI/Common/EnumDirItems.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/EnumDirItems.cpp:7:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Common/EnumDirItems.cpp:18:
In file included from external/p7zip/CPP/7zip/UI/Common/EnumDirItems.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
external/p7zip/CPP/7zip/UI/Common/EnumDirItems.cpp:603:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (isDir && !item.ForDir || !isDir && !item.ForFile)
~~~~~~^~~~~~~~~~~~~~~ ~~
external/p7zip/CPP/7zip/UI/Common/EnumDirItems.cpp:603:19: note: place parentheses around the '&&' expression to silence this warning
if (isDir && !item.ForDir || !isDir && !item.ForFile)
^
( )
external/p7zip/CPP/7zip/UI/Common/EnumDirItems.cpp:603:45: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (isDir && !item.ForDir || !isDir && !item.ForFile)
~~ ~~~~~~~^~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/EnumDirItems.cpp:603:45: note: place parentheses around the '&&' expression to silence this warning
if (isDir && !item.ForDir || !isDir && !item.ForFile)
^
( )
4 warnings generated.
[ 12% 11984/97665] target C++: 7z <= .../p7zip/CPP/7zip/UI/Common/HashCalc.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/HashCalc.cpp:9:
external/p7zip/CPP/7zip/UI/Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Common/HashCalc.cpp:12:
In file included from external/p7zip/CPP/7zip/UI/Common/EnumDirItems.h:6:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Common/HashCalc.cpp:12:
In file included from external/p7zip/CPP/7zip/UI/Common/EnumDirItems.h:10:
In file included from external/p7zip/CPP/7zip/UI/Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Common/HashCalc.cpp:13:
external/p7zip/CPP/7zip/UI/Common/HashCalc.h:95:19: warning: field 'StdInMode' will be initialized after field 'OpenShareForWrite' [-Wreorder]
CHashOptions(): StdInMode(false), OpenShareForWrite(false), AltStreamsMode(false), PathMode(NWildcard::k_RelatPath) {};
^
4 warnings generated.
[ 12% 11985/97665] target C++: 7z <= ...nal/p7zip/CPP/7zip/UI/Common/Bench.cpp
external/p7zip/CPP/7zip/UI/Common/Bench.cpp:760:5: warning: field 'fileData' will be initialized after field 'CheckCrc_Enc' [-Wreorder]
fileData(NULL),
^
external/p7zip/CPP/7zip/UI/Common/Bench.cpp:1758:18: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (startPos < 0)
~~~~~~~~ ^ ~
2 warnings generated.
[ 12% 11987/97665] target C++: 7z <= ...p7zip/CPP/7zip/UI/Common/SortUtils.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/SortUtils.cpp:5:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
1 warning generated.
[ 12% 11991/97665] target C++: 7z <= ...7zip/CPP/7zip/UI/Common/LoadCodecs.cpp
external/p7zip/CPP/7zip/UI/Common/LoadCodecs.cpp:480:55: warning: unused parameter 'needCheckDll' [-Wunused-parameter]
HRESULT CCodecs::LoadDll(const FString &dllPath, bool needCheckDll, bool *loadedOK)
^
1 warning generated.
[ 12% 11992/97665] target C++: 7z <= ...7zip/CPP/7zip/UI/Common/UpdatePair.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/UpdatePair.cpp:7:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Common/UpdatePair.cpp:12:
In file included from external/p7zip/CPP/7zip/UI/Common/UpdatePair.h:6:
In file included from external/p7zip/CPP/7zip/UI/Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
2 warnings generated.
[ 12% 11993/97665] target C++: 7z <= ...p/CPP/7zip/UI/Common/UpdateProduce.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateProduce.cpp:5:
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateProduce.h:6:
In file included from external/p7zip/CPP/7zip/UI/Common/UpdatePair.h:6:
In file included from external/p7zip/CPP/7zip/UI/Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
1 warning generated.
[ 12% 11995/97665] target C++: 7z <= .../CPP/7zip/UI/Common/UpdateCallback.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.cpp:12:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.cpp:21:
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.h:8:
external/p7zip/CPP/7zip/UI/Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.cpp:21:
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.h:13:
In file included from external/p7zip/CPP/7zip/UI/Common/../Common/UpdatePair.h:6:
In file included from external/p7zip/CPP/7zip/UI/Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.cpp:21:
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.h:16:
In file included from external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:8:
external/p7zip/CPP/7zip/UI/Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.cpp:21:
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.h:16:
external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
external/p7zip/CPP/7zip/UI/Common/UpdateCallback.cpp:728:64: warning: unused parameter 'val' [-Wunused-parameter]
HRESULT CArchiveUpdateCallback::InFileStream_On_Error(UINT_PTR val, DWORD error)
^
6 warnings generated.
[ 12% 11996/97665] target C++: 7z <= ...al/p7zip/CPP/7zip/UI/Common/Update.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/Update.cpp:5:
In file included from external/p7zip/CPP/7zip/UI/Common/Update.h:6:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Common/Update.cpp:5:
In file included from external/p7zip/CPP/7zip/UI/Common/Update.h:8:
external/p7zip/CPP/7zip/UI/Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Common/Update.cpp:5:
In file included from external/p7zip/CPP/7zip/UI/Common/Update.h:10:
external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
In file included from external/p7zip/CPP/7zip/UI/Common/Update.cpp:5:
In file included from external/p7zip/CPP/7zip/UI/Common/Update.h:13:
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.h:8:
external/p7zip/CPP/7zip/UI/Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Common/Update.cpp:5:
In file included from external/p7zip/CPP/7zip/UI/Common/Update.h:13:
In file included from external/p7zip/CPP/7zip/UI/Common/UpdateCallback.h:13:
In file included from external/p7zip/CPP/7zip/UI/Common/../Common/UpdatePair.h:6:
In file included from external/p7zip/CPP/7zip/UI/Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Common/Update.cpp:5:
external/p7zip/CPP/7zip/UI/Common/Update.h:128:5: warning: field 'EMailRemoveAfter' will be initialized after field 'OpenShareForWrite' [-Wreorder]
EMailRemoveAfter(false),
^
external/p7zip/CPP/7zip/UI/Common/Update.h:129:5: warning: field 'OpenShareForWrite' will be initialized after field 'ArcNameMode' [-Wreorder]
OpenShareForWrite(false),
^
external/p7zip/CPP/7zip/UI/Common/Update.cpp:254:15: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (newSize < 0)
~~~~~~~ ^ ~
external/p7zip/CPP/7zip/UI/Common/Update.cpp:1012:23: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
for (int i = 2; i < NPairState::kNumValues; i++)
~ ^ ~~~~~~~~~~~~~~~~~~~~~~
9 warnings generated.
[ 12% 11998/97665] target C++: 7z <= .../UI/Console/ExtractCallbackConsole.cpp
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:6:
external/p7zip/CPP/7zip/UI/Console/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:23:
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.h:12:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:13:
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:23:
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.h:12:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/IFileExtractCallback.h:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/OpenArchive.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:23:
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.h:12:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/IFileExtractCallback.h:11:
external/p7zip/CPP/7zip/UI/Console/../Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:23:
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.h:12:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:22:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/HashCalc.h:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:23:
In file included from external/p7zip/CPP/7zip/UI/Console/ExtractCallbackConsole.h:12:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:22:
external/p7zip/CPP/7zip/UI/Console/../Common/HashCalc.h:95:19: warning: field 'StdInMode' will be initialized after field 'OpenShareForWrite' [-Wreorder]
CHashOptions(): StdInMode(false), OpenShareForWrite(false), AltStreamsMode(false), PathMode(NWildcard::k_RelatPath) {};
^
6 warnings generated.
[ 12% 11999/97665] target C++: 7z <= .../p7zip/CPP/7zip/UI/Console/HashCon.cpp
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.cpp:8:
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.h:6:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/HashCalc.h:6:
external/p7zip/CPP/7zip/UI/Console/../Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.cpp:8:
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.h:6:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/HashCalc.h:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.cpp:8:
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.h:6:
external/p7zip/CPP/7zip/UI/Console/../Common/HashCalc.h:95:19: warning: field 'StdInMode' will be initialized after field 'OpenShareForWrite' [-Wreorder]
CHashOptions(): StdInMode(false), OpenShareForWrite(false), AltStreamsMode(false), PathMode(NWildcard::k_RelatPath) {};
^
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.cpp:8:
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.cpp:8:
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:10:
external/p7zip/CPP/7zip/UI/Console/../Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.cpp:8:
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:13:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/UpdateCallback.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.cpp:8:
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:128:5: warning: field 'EMailRemoveAfter' will be initialized after field 'OpenShareForWrite' [-Wreorder]
EMailRemoveAfter(false),
^
external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:129:5: warning: field 'OpenShareForWrite' will be initialized after field 'ArcNameMode' [-Wreorder]
OpenShareForWrite(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.cpp:8:
In file included from external/p7zip/CPP/7zip/UI/Console/HashCon.h:8:
external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:107:9: warning: field 'DeleteMessageWasShown' will be initialized after field 'PasswordIsDefined' [-Wreorder]
: DeleteMessageWasShown(false)
^
9 warnings generated.
[ 12% 12000/97665] target C++: 7z <= ...zip/UI/Console/OpenCallbackConsole.cpp
In file included from external/p7zip/CPP/7zip/UI/Console/OpenCallbackConsole.cpp:5:
In file included from external/p7zip/CPP/7zip/UI/Console/OpenCallbackConsole.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
1 warning generated.
[ 12% 12001/97665] target C++: 7z <= ...zip/CPP/7zip/UI/Common/OpenArchive.cpp
In file included from external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:17:
external/p7zip/CPP/7zip/UI/Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:21:
external/p7zip/CPP/7zip/UI/Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:29:
In file included from external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:8:
external/p7zip/CPP/7zip/UI/Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:29:
external/p7zip/CPP/7zip/UI/Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:144:7: warning: field 'LenIsUnknown' will be initialized after field 'FileTime_Defined' [-Wreorder]
LenIsUnknown(false),
^
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:147:7: warning: field 'NumSubFiles_Defined' will be initialized after field 'NumSubDirs_Defined' [-Wreorder]
NumSubFiles_Defined(false),
^
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:1007:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (sig.Size() == 0 && dataSize == 0 ||
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ~~
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:1007:27: note: place parentheses around the '&&' expression to silence this warning
if (sig.Size() == 0 && dataSize == 0 ||
^
( )
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:1008:53: warning: '&&' within '||' [-Wlogical-op-parentheses]
sig.Size() != 0 && sig.Size() <= dataSize &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:1008:53: note: place parentheses around the '&&' expression to silence this warning
sig.Size() != 0 && sig.Size() <= dataSize &&
^
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:1659:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:1682:22: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| isZip && StringsAreEqualNoCase_Ascii(ai.Name, "zip")
~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:1682:22: note: place parentheses around the '&&' expression to silence this warning
|| isZip && StringsAreEqualNoCase_Ascii(ai.Name, "zip")
^
( )
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:1683:22: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| isRar && StringsAreEqualNoCase_Ascii(ai.Name, "rar")
~~ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:1683:22: note: place parentheses around the '&&' expression to silence this warning
|| isRar && StringsAreEqualNoCase_Ascii(ai.Name, "rar")
^
( )
external/p7zip/CPP/7zip/UI/Common/OpenArchive.cpp:2790:15: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
12 warnings generated.
[ 12% 12002/97665] target C++: 7z <= ...l/p7zip/CPP/7zip/UI/Console/MainAr.cpp
In file included from external/p7zip/CPP/7zip/UI/Console/MainAr.cpp:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:7:
external/p7zip/CPP/7zip/UI/Console/../Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Console/MainAr.cpp:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:13:
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Console/MainAr.cpp:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/IFileExtractCallback.h:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/OpenArchive.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Console/MainAr.cpp:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/IFileExtractCallback.h:11:
external/p7zip/CPP/7zip/UI/Console/../Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/MainAr.cpp:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:22:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/HashCalc.h:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Console/MainAr.cpp:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:22:
external/p7zip/CPP/7zip/UI/Console/../Common/HashCalc.h:95:19: warning: field 'StdInMode' will be initialized after field 'OpenShareForWrite' [-Wreorder]
CHashOptions(): StdInMode(false), OpenShareForWrite(false), AltStreamsMode(false), PathMode(NWildcard::k_RelatPath) {};
^
In file included from external/p7zip/CPP/7zip/UI/Console/MainAr.cpp:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:56:7: warning: field 'TestMode' will be initialized after field 'StdInMode' [-Wreorder]
TestMode(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/MainAr.cpp:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:11:
external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:128:5: warning: field 'EMailRemoveAfter' will be initialized after field 'OpenShareForWrite' [-Wreorder]
EMailRemoveAfter(false),
^
external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:129:5: warning: field 'OpenShareForWrite' will be initialized after field 'ArcNameMode' [-Wreorder]
OpenShareForWrite(false),
^
9 warnings generated.
[ 12% 12003/97665] target C++: 7z <= ...nal/p7zip/CPP/7zip/UI/Console/List.cpp
In file included from external/p7zip/CPP/7zip/UI/Console/List.cpp:16:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/OpenArchive.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Console/List.cpp:16:
external/p7zip/CPP/7zip/UI/Console/../Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/List.cpp:20:
In file included from external/p7zip/CPP/7zip/UI/Console/List.h:6:
external/p7zip/CPP/7zip/UI/Console/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
external/p7zip/CPP/7zip/UI/Console/List.cpp:354:3: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const UInt64 GetNumStreams() const { return MainFiles.NumFiles + AltStreams.NumFiles; }
^~~~~~
4 warnings generated.
[ 12% 12004/97665] target C++: 7z <= ...CPP/7zip/UI/Console/UserInputUtils.cpp
external/p7zip/CPP/7zip/UI/Console/UserInputUtils.cpp:74:51: warning: unused parameter 'verify' [-Wunused-parameter]
UString GetPassword(CStdOutStream *outStream,bool verify)
^
1 warning generated.
[ 12% 12007/97665] target C++: 7z <= ...p/UI/Console/UpdateCallbackConsole.cpp
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:6:
external/p7zip/CPP/7zip/UI/Console/../Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:10:
external/p7zip/CPP/7zip/UI/Console/../Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:13:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/UpdateCallback.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:8:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:13:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/UpdateCallback.h:13:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/../Common/UpdatePair.h:6:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:15:
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:128:5: warning: field 'EMailRemoveAfter' will be initialized after field 'OpenShareForWrite' [-Wreorder]
EMailRemoveAfter(false),
^
external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:129:5: warning: field 'OpenShareForWrite' will be initialized after field 'ArcNameMode' [-Wreorder]
OpenShareForWrite(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:15:
external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:107:9: warning: field 'DeleteMessageWasShown' will be initialized after field 'PasswordIsDefined' [-Wreorder]
: DeleteMessageWasShown(false)
^
8 warnings generated.
[ 12% 12009/97665] target C++: 7z <= ...nal/p7zip/CPP/7zip/UI/Console/Main.cpp
In file included from external/p7zip/CPP/7zip/UI/Console/Main.cpp:36:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:7:
external/p7zip/CPP/7zip/UI/Console/../Common/../../../Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
In file included from external/p7zip/CPP/7zip/UI/Console/Main.cpp:36:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:13:
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/FileStreams.h:78:40: warning: unused parameter 'shareForWrite' [-Wunused-parameter]
bool OpenShared(CFSTR fileName, bool shareForWrite)
^
In file included from external/p7zip/CPP/7zip/UI/Console/Main.cpp:36:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/IFileExtractCallback.h:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/OpenArchive.h:8:
external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveOpenCallback.h:91:23: warning: field 'Callback' will be initialized after field '_subArchiveMode' [-Wreorder]
COpenCallbackImp(): Callback(NULL), _subArchiveMode(false) {}
^
In file included from external/p7zip/CPP/7zip/UI/Console/Main.cpp:36:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:19:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/IFileExtractCallback.h:11:
external/p7zip/CPP/7zip/UI/Console/../Common/OpenArchive.h:91:7: warning: field 'EachPos' will be initialized after field 'CanReturnArc' [-Wreorder]
EachPos(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/Main.cpp:36:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:22:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/HashCalc.h:11:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/DirItem.h:10:
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/UniqBlocks.h:22:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/7zip/UI/Console/../Common/../../Common/UniqBlocks.h:22:50: note: place parentheses around the '&&' expression to silence this warning
return (Bufs.Size() == 0 || Bufs.Size() == 1 && Bufs[0].Size() == 0);
^
( )
In file included from external/p7zip/CPP/7zip/UI/Console/Main.cpp:36:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:10:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveExtractCallback.h:22:
external/p7zip/CPP/7zip/UI/Console/../Common/HashCalc.h:95:19: warning: field 'StdInMode' will be initialized after field 'OpenShareForWrite' [-Wreorder]
CHashOptions(): StdInMode(false), OpenShareForWrite(false), AltStreamsMode(false), PathMode(NWildcard::k_RelatPath) {};
^
In file included from external/p7zip/CPP/7zip/UI/Console/Main.cpp:36:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:9:
external/p7zip/CPP/7zip/UI/Console/../Common/Extract.h:56:7: warning: field 'TestMode' will be initialized after field 'StdInMode' [-Wreorder]
TestMode(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/Main.cpp:36:
In file included from external/p7zip/CPP/7zip/UI/Console/../Common/ArchiveCommandLine.h:11:
external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:128:5: warning: field 'EMailRemoveAfter' will be initialized after field 'OpenShareForWrite' [-Wreorder]
EMailRemoveAfter(false),
^
external/p7zip/CPP/7zip/UI/Console/../Common/Update.h:129:5: warning: field 'OpenShareForWrite' will be initialized after field 'ArcNameMode' [-Wreorder]
OpenShareForWrite(false),
^
In file included from external/p7zip/CPP/7zip/UI/Console/Main.cpp:51:
external/p7zip/CPP/7zip/UI/Console/UpdateCallbackConsole.h:107:9: warning: field 'DeleteMessageWasShown' will be initialized after field 'PasswordIsDefined' [-Wreorder]
: DeleteMessageWasShown(false)
^
external/p7zip/CPP/7zip/UI/Console/Main.cpp:1008:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else if (hresultMain == S_OK)
^
external/p7zip/CPP/7zip/UI/Console/Main.cpp:1030:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
external/p7zip/CPP/7zip/UI/Console/Main.cpp:1129:26: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for(int i = 0; i < uo.Commands.Size(); i++)
~ ^ ~~~~~~~~~~~~~~~~~~
13 warnings generated.
[ 12% 12014/97665] target C++: 7z <= ...ternal/p7zip/CPP/Common/NewHandler.cpp
external/p7zip/CPP/Common/NewHandler.cpp:27:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch]
void operator delete(void *pnt)
^
external/p7zip/CPP/Common/NewHandler.cpp:33:6: warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch]
void operator delete[](void *pnt)
^
2 warnings generated.
[ 12% 12018/97665] target C++: 7z <= ...nal/p7zip/CPP/Common/StringConvert.cpp
external/p7zip/CPP/Common/StringConvert.cpp:96:65: warning: unused parameter 'codePage' [-Wunused-parameter]
UString MultiByteToUnicodeString(const AString &srcString, UINT codePage)
^
external/p7zip/CPP/Common/StringConvert.cpp:106:21: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i < srcString.Len(); i++)
~ ^ ~~~~~~~~~~~~~~~
external/p7zip/CPP/Common/StringConvert.cpp:112:65: warning: unused parameter 'codePage' [-Wunused-parameter]
AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage)
^
external/p7zip/CPP/Common/StringConvert.cpp:122:21: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i < srcString.Len(); i++)
~ ^ ~~~~~~~~~~~~~~~
4 warnings generated.
[ 12% 12021/97665] target C++: 7z <= external/p7zip/CPP/Common/Wildcard.cpp
In file included from external/p7zip/CPP/Common/Wildcard.cpp:5:
external/p7zip/CPP/Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
external/p7zip/CPP/Common/Wildcard.cpp:463:58: warning: '&&' within '||' [-Wlogical-op-parentheses]
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
~~~~~~~~~^~~~~~~~~~~ ~~
external/p7zip/CPP/Common/Wildcard.cpp:463:58: note: place parentheses around the '&&' expression to silence this warning
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
^
( )
external/p7zip/CPP/Common/Wildcard.cpp:463:82: warning: '&&' within '||' [-Wlogical-op-parentheses]
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
~~ ~~~~~~~~~^~~~~~~~~~~
external/p7zip/CPP/Common/Wildcard.cpp:463:82: note: place parentheses around the '&&' expression to silence this warning
return c != 0 && s[1] == ':' && s[2] == 0 && (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z');
^
( )
external/p7zip/CPP/Common/Wildcard.cpp:586:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
external/p7zip/CPP/Common/Wildcard.cpp:611:54: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (pathParts.IsEmpty() || pathParts.Size() == 1 && pathParts[0].IsEmpty())
~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/Common/Wildcard.cpp:611:54: note: place parentheses around the '&&' expression to silence this warning
if (pathParts.IsEmpty() || pathParts.Size() == 1 && pathParts[0].IsEmpty())
^
( )
5 warnings generated.
[ 12% 12024/97665] target C++: 7z <= external/p7zip/CPP/Windows/FileDir.cpp
external/p7zip/CPP/Windows/FileDir.cpp:502:22: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if (pos > 0 && pos == pathName.Len() - 1)
~~~ ^ ~~~~~~~~~~~~~~~~~~
external/p7zip/CPP/Windows/FileDir.cpp:535:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
while (pos < pathName.Len())
~~~ ^ ~~~~~~~~~~~~~~
2 warnings generated.
[ 12% 12025/97665] target C++: 7z <= external/p7zip/CPP/Windows/FileFind.cpp
external/p7zip/CPP/Windows/FileFind.cpp:34:22: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
} else if ((pos+1) < p_path.Len()) {
~~~~~ ^ ~~~~~~~~~~~~
external/p7zip/CPP/Windows/FileFind.cpp:71:22: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
} else if ((pos+1) < p_path.Len()) {
~~~~~ ^ ~~~~~~~~~~~~
2 warnings generated.
[ 12% 12026/97665] target C++: 7z <= external/p7zip/CPP/Windows/FileName.cpp
In file included from external/p7zip/CPP/Windows/FileName.cpp:6:
external/p7zip/CPP/Common/Wildcard.h:64:58: warning: field 'Name' will be initialized after field 'Parent' [-Wreorder]
CCensorNode(const UString &name, CCensorNode *parent): Name(name), Parent(parent) { };
^
1 warning generated.
[ 12% 12027/97665] target C++: 7z <= external/p7zip/CPP/Windows/FileIO.cpp
external/p7zip/CPP/Windows/FileIO.cpp:47:11: warning: unused parameter 'dwShareMode' [-Wunused-parameter]
DWORD dwShareMode, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes,bool ignoreSymbolicLink)
^
external/p7zip/CPP/Windows/FileIO.cpp:47:59: warning: unused parameter 'dwFlagsAndAttributes' [-Wunused-parameter]
DWORD dwShareMode, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes,bool ignoreSymbolicLink)
^
external/p7zip/CPP/Windows/FileIO.cpp:113:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (int i = 0; i < ustr.Len(); i++)
~ ^ ~~~~~~~~~~
external/p7zip/CPP/Windows/FileIO.cpp:318:13: warning: comparison of integers of different signs: 'int' and 'UINT32' (aka 'unsigned int') [-Wsign-compare]
if (len > bytesToRead) len = bytesToRead;
~~~ ^ ~~~~~~~~~~~
external/p7zip/CPP/Windows/FileIO.cpp:368:40: warning: unused parameter 'cTime' [-Wunused-parameter]
bool COutFile::SetTime(const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime) throw()
^
5 warnings generated.
[ 12% 12031/97665] target C++: 7z <= ...ternal/p7zip/CPP/Windows/TimeUtils.cpp
external/p7zip/CPP/Windows/TimeUtils.cpp:127:16: warning: comparison of integers of different signs: 'Int64' (aka 'long long') and 'unsigned long long' [-Wsign-compare]
if (unixTime > kNumSecondsInFileTime - kUnixTimeOffset)
~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 12% 12038/97665] target C: 7z <= external/p7zip/C/Alloc.c
external/p7zip/C/Alloc.c:262:88: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (g_HugetlbPath == NULL || (size = pathconf(g_HugetlbPath, _PC_REC_MIN_XFER_SIZE)) <= getpagesize())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
1 warning generated.
[ 12% 12060/97665] target C: libbuiltins <= external/bash/builtins/break.c
./break.def:77:36: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sh_erange (list->word->word, _("loop count"));
^~~~~~~~~~~~~~~
external/bash/builtins/../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/builtins/../include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/builtins/common.h:78:42: note: passing argument to parameter here
extern void sh_erange __P((char *, char *));
^
./break.def:117:36: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sh_erange (list->word->word, _("loop count"));
^~~~~~~~~~~~~~~
external/bash/builtins/../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/builtins/../include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/builtins/common.h:78:42: note: passing argument to parameter here
extern void sh_erange __P((char *, char *));
^
2 warnings generated.
[ 12% 12062/97665] target C: bash <= external/bash/shell.c
external/bash/shell.c:841:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (arg_character = arg_string[i++])
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
external/bash/shell.c:841:28: note: place parentheses around the assignment to silence this warning
while (arg_character = arg_string[i++])
^
( )
external/bash/shell.c:841:28: note: use '==' to turn this assignment into an equality comparison
while (arg_character = arg_string[i++])
^
==
external/bash/shell.c:1691:27: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
current_user.user_name = _("I have no name!");
^ ~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 12% 12063/97665] target C: bash <= external/bash/eval.c
external/bash/eval.c:153:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (current_command = global_command)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
external/bash/eval.c:153:29: note: place parentheses around the assignment to silence this warning
else if (current_command = global_command)
^
( )
external/bash/eval.c:153:29: note: use '==' to turn this assignment into an equality comparison
else if (current_command = global_command)
^
==
external/bash/eval.c:187:10: warning: unused parameter 'i' [-Wunused-parameter]
int i;
^
2 warnings generated.
[ 12% 12064/97665] target C: bash <= external/bash/make_cmd.c
external/bash/make_cmd.c:121:12: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
while (i < slen)
~ ^ ~~~~
external/bash/make_cmd.c:617:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (full_line = read_secondary_line (delim_unquoted))
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/make_cmd.c:617:20: note: place parentheses around the assignment to silence this warning
while (full_line = read_secondary_line (delim_unquoted))
^
( )
external/bash/make_cmd.c:617:20: note: use '==' to turn this assignment into an equality comparison
while (full_line = read_secondary_line (delim_unquoted))
^
==
2 warnings generated.
[ 12% 12065/97665] target C: bash <= external/bash/general.c
external/bash/general.c:122:9: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (n < 0)
~ ^ ~
external/bash/general.c:253:10: warning: unused parameter 'flags' [-Wunused-parameter]
int flags;
^
external/bash/general.c:282:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[indx])
~~^~~~~~~~~~~~~~
external/bash/general.c:282:12: note: place parentheses around the assignment to silence this warning
while (c = string[indx])
^
( )
external/bash/general.c:282:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[indx])
^
==
external/bash/general.c:720:10: warning: unused parameter 'maxlen' [-Wunused-parameter]
int maxlen;
^
4 warnings generated.
[ 12% 12069/97665] target C: bash <= external/bash/error.c
external/bash/error.c:450:19: warning: unused parameter 'flags' [-Wunused-parameter]
int code, e, flags; /* flags currently unused */
^
external/bash/error.c:465:10: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return (_(cmd_error_table[code]));
^~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 12% 12071/97665] target C: bash <= external/bash/y.tab.c
/usr/src/local/bash/bash-4.3-patched/parse.y:2308:130: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
internal_warning("shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%llu): line truncated", shell_input_line_size, SIZE_MAX);
~~~~ ^~~~~~~~
%lu
bionic/libc/include/stdint.h:219:26: note: expanded from macro 'SIZE_MAX'
# define SIZE_MAX UINT64_MAX
^~~~~~~~~~
bionic/libc/include/stdint.h:193:26: note: expanded from macro 'UINT64_MAX'
#define UINT64_MAX (UINT64_C(18446744073709551615))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:2319:6: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
RESIZE_MALLOCED_BUFFER (shell_input_line, i, 2, shell_input_line_size, 256);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/general.h:166:25: note: expanded from macro 'RESIZE_MALLOCED_BUFFER'
if ((cind) + (room) >= csize) \
~~~~~~~~~~~~~~~ ^ ~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:2319:6: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
RESIZE_MALLOCED_BUFFER (shell_input_line, i, 2, shell_input_line_size, 256);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/general.h:168:25: note: expanded from macro 'RESIZE_MALLOCED_BUFFER'
while ((cind) + (room) >= csize) \
~~~~~~~~~~~~~~~ ^ ~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:2546:30: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (shell_input_line_index < 0 || shell_input_line_index >= shell_input_line_len)
~~~~~~~~~~~~~~~~~~~~~~ ^ ~
/usr/src/local/bash/bash-4.3-patched/parse.y:2547:12: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
return '\0'; /* XXX */
^~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:2662:28: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
report_syntax_error (_("maximum here-document count exceeded"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:206:44: note: passing argument to parameter here
static void report_syntax_error __P((char *));
^
/usr/src/local/bash/bash-4.3-patched/parse.y:2807:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
while (i < shell_input_line_len && (shell_input_line[i] == ' ' || shell_input_line[i] == '\t'))
~ ^ ~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:4212:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (etext = error_token_from_token (cond_token))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:4212:17: note: place parentheses around the assignment to silence this warning
if (etext = error_token_from_token (cond_token))
^
( )
/usr/src/local/bash/bash-4.3-patched/parse.y:4212:17: note: use '==' to turn this assignment into an equality comparison
if (etext = error_token_from_token (cond_token))
^
==
/usr/src/local/bash/bash-4.3-patched/parse.y:4294:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (etext = error_token_from_token (cond_token))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:4294:14: note: place parentheses around the assignment to silence this warning
if (etext = error_token_from_token (cond_token))
^
( )
/usr/src/local/bash/bash-4.3-patched/parse.y:4294:14: note: use '==' to turn this assignment into an equality comparison
if (etext = error_token_from_token (cond_token))
^
==
/usr/src/local/bash/bash-4.3-patched/parse.y:4326:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (etext = error_token_from_token (tok))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:4326:14: note: place parentheses around the assignment to silence this warning
if (etext = error_token_from_token (tok))
^
( )
/usr/src/local/bash/bash-4.3-patched/parse.y:4326:14: note: use '==' to turn this assignment into an equality comparison
if (etext = error_token_from_token (tok))
^
==
/usr/src/local/bash/bash-4.3-patched/parse.y:4376:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (etext = error_token_from_token (tok))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:4376:14: note: place parentheses around the assignment to silence this warning
if (etext = error_token_from_token (tok))
^
( )
/usr/src/local/bash/bash-4.3-patched/parse.y:4376:14: note: use '==' to turn this assignment into an equality comparison
if (etext = error_token_from_token (tok))
^
==
/usr/src/local/bash/bash-4.3-patched/parse.y:4402:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (etext = error_token_from_token (tok))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:4402:14: note: place parentheses around the assignment to silence this warning
if (etext = error_token_from_token (tok))
^
( )
/usr/src/local/bash/bash-4.3-patched/parse.y:4402:14: note: use '==' to turn this assignment into an equality comparison
if (etext = error_token_from_token (tok))
^
==
/usr/src/local/bash/bash-4.3-patched/parse.y:4420:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (etext = error_token_from_token (tok))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:4420:22: note: place parentheses around the assignment to silence this warning
else if (etext = error_token_from_token (tok))
^
( )
/usr/src/local/bash/bash-4.3-patched/parse.y:4420:22: note: use '==' to turn this assignment into an equality comparison
else if (etext = error_token_from_token (tok))
^
==
/usr/src/local/bash/bash-4.3-patched/parse.y:5271:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = *string++)
~~^~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:5271:12: note: place parentheses around the assignment to silence this warning
while (c = *string++)
^
( )
/usr/src/local/bash/bash-4.3-patched/parse.y:5271:12: note: use '==' to turn this assignment into an equality comparison
while (c = *string++)
^
==
/usr/src/local/bash/bash-4.3-patched/parse.y:5642:18: warning: unused parameter 'msg' [-Wunused-parameter]
const char *msg;
^
/usr/src/local/bash/bash-4.3-patched/parse.y:5655:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = find_token_in_alist (tok, word_token_alist, 0))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:5655:9: note: place parentheses around the assignment to silence this warning
if (t = find_token_in_alist (tok, word_token_alist, 0))
^
( )
/usr/src/local/bash/bash-4.3-patched/parse.y:5655:9: note: use '==' to turn this assignment into an equality comparison
if (t = find_token_in_alist (tok, word_token_alist, 0))
^
==
/usr/src/local/bash/bash-4.3-patched/parse.y:5658:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = find_token_in_alist (tok, other_token_alist, 0))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:5658:9: note: place parentheses around the assignment to silence this warning
if (t = find_token_in_alist (tok, other_token_alist, 0))
^
( )
/usr/src/local/bash/bash-4.3-patched/parse.y:5658:9: note: use '==' to turn this assignment into an equality comparison
if (t = find_token_in_alist (tok, other_token_alist, 0))
^
==
/usr/src/local/bash/bash-4.3-patched/parse.y:5804:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
msg = EOF_Reached ? _("syntax error: unexpected end of file") : _("syntax error");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/local/bash/bash-4.3-patched/parse.y:5823:10: warning: unused parameter 'error_p' [-Wunused-parameter]
int error_p;
^
19 warnings generated.
[ 12% 12072/97665] target C: bash <= external/bash/variables.c
external/bash/variables.c:334:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (string_index = 0; string = env[string_index++]; )
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
external/bash/variables.c:334:33: note: place parentheses around the assignment to silence this warning
for (string_index = 0; string = env[string_index++]; )
^
( )
external/bash/variables.c:334:33: note: use '==' to turn this assignment into an equality comparison
for (string_index = 0; string = env[string_index++]; )
^
==
external/bash/variables.c:383:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (temp_var = find_function (tname))
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
external/bash/variables.c:383:17: note: place parentheses around the assignment to silence this warning
if (temp_var = find_function (tname))
^
( )
external/bash/variables.c:383:17: note: use '==' to turn this assignment into an equality comparison
if (temp_var = find_function (tname))
^
==
external/bash/variables.c:390:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (temp_var = bind_variable (name, string, 0))
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/variables.c:390:21: note: place parentheses around the assignment to silence this warning
if (temp_var = bind_variable (name, string, 0))
^
( )
external/bash/variables.c:390:21: note: use '==' to turn this assignment into an equality comparison
if (temp_var = bind_variable (name, string, 0))
^
==
external/bash/variables.c:1145:12: warning: unused parameter 'value' [-Wunused-parameter]
char *value;
^
external/bash/variables.c:1146:17: warning: unused parameter 'unused' [-Wunused-parameter]
arrayind_t unused;
^
external/bash/variables.c:1147:12: warning: unused parameter 'key' [-Wunused-parameter]
char *key;
^
external/bash/variables.c:1156:12: warning: unused parameter 'value' [-Wunused-parameter]
char *value;
^
external/bash/variables.c:1157:17: warning: unused parameter 'ind' [-Wunused-parameter]
arrayind_t ind;
^
external/bash/variables.c:1158:12: warning: unused parameter 'key' [-Wunused-parameter]
char *key;
^
external/bash/variables.c:1222:17: warning: unused parameter 'unused' [-Wunused-parameter]
arrayind_t unused;
^
external/bash/variables.c:1223:12: warning: unused parameter 'key' [-Wunused-parameter]
char *key;
^
external/bash/variables.c:1316:17: warning: unused parameter 'unused' [-Wunused-parameter]
arrayind_t unused;
^
external/bash/variables.c:1317:12: warning: unused parameter 'key' [-Wunused-parameter]
char *key;
^
external/bash/variables.c:1366:17: warning: unused parameter 'unused' [-Wunused-parameter]
arrayind_t unused;
^
external/bash/variables.c:1367:12: warning: unused parameter 'key' [-Wunused-parameter]
char *key;
^
external/bash/variables.c:1396:17: warning: unused parameter 'unused' [-Wunused-parameter]
arrayind_t unused;
^
external/bash/variables.c:1397:12: warning: unused parameter 'key' [-Wunused-parameter]
char *key;
^
external/bash/variables.c:1489:17: warning: unused parameter 'unused' [-Wunused-parameter]
arrayind_t unused;
^
external/bash/variables.c:1490:12: warning: unused parameter 'key' [-Wunused-parameter]
char *key;
^
external/bash/variables.c:1507:12: warning: unused parameter 'key' [-Wunused-parameter]
char *key;
^
external/bash/variables.c:1597:17: warning: unused parameter 'ind' [-Wunused-parameter]
arrayind_t ind;
^
external/bash/variables.c:1651:17: warning: unused parameter 'ind' [-Wunused-parameter]
arrayind_t ind;
^
external/bash/variables.c:1797:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (v = hash_lookup (name, vc->table))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/variables.c:1797:11: note: place parentheses around the assignment to silence this warning
if (v = hash_lookup (name, vc->table))
^
( )
external/bash/variables.c:1797:11: note: use '==' to turn this assignment into an equality comparison
if (v = hash_lookup (name, vc->table))
^
==
external/bash/variables.c:2128:18: warning: unused parameter 'name' [-Wunused-parameter]
const char *name;
^
external/bash/variables.c:2529:87: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if ((aflags & ASS_FROMREF) && (hflags & HASH_NOSRCH) == 0 && valid_array_reference (name))
^~~~
external/bash/arrayfunc.h:60:45: note: passing argument to parameter here
extern int valid_array_reference __P((char *));
^
external/bash/variables.c:2531:38: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
newname = array_variable_name (name, &subp, &sublen);
^~~~
external/bash/arrayfunc.h:66:45: note: passing argument to parameter here
extern char *array_variable_name __P((char *, char **, int *));
^
external/bash/variables.c:2576:33: warning: incompatible pointer types passing 'const char *' to parameter of type 'SHELL_VAR *' (aka 'struct variable *') [-Wincompatible-pointer-types]
ind = array_expand_index (name, subp, sublen);
^~~~
external/bash/arrayfunc.h:59:54: note: passing argument to parameter here
extern arrayind_t array_expand_index __P((SHELL_VAR *, char *, int));
^
external/bash/variables.c:3208:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (elt = hash_remove (name, v->table, 0))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/variables.c:3208:13: note: place parentheses around the assignment to silence this warning
if (elt = hash_remove (name, v->table, 0))
^
( )
external/bash/variables.c:3208:13: note: use '==' to turn this assignment into an equality comparison
if (elt = hash_remove (name, v->table, 0))
^
==
external/bash/variables.c:3237:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (elt = hash_remove (name, v->table, 0))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/variables.c:3237:13: note: place parentheses around the assignment to silence this warning
if (elt = hash_remove (name, v->table, 0))
^
( )
external/bash/variables.c:3237:13: note: use '==' to turn this assignment into an equality comparison
if (elt = hash_remove (name, v->table, 0))
^
==
external/bash/variables.c:3448:10: warning: unused parameter 'flags' [-Wunused-parameter]
int flags;
^
external/bash/variables.c:3993:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = 0, list_index = 0; var = vars[i]; i++)
~~~~^~~~~~~~~
external/bash/variables.c:3993:35: note: place parentheses around the assignment to silence this warning
for (i = 0, list_index = 0; var = vars[i]; i++)
^
( )
external/bash/variables.c:3993:35: note: use '==' to turn this assignment into an equality comparison
for (i = 0, list_index = 0; var = vars[i]; i++)
^
==
external/bash/variables.c:4411:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (ret = vcxt->down)
~~~~^~~~~~~~~~~~
external/bash/variables.c:4411:11: note: place parentheses around the assignment to silence this warning
if (ret = vcxt->down)
^
( )
external/bash/variables.c:4411:11: note: use '==' to turn this assignment into an equality comparison
if (ret = vcxt->down)
^
==
external/bash/variables.c:4597:17: warning: unused parameter 'list' [-Wunused-parameter]
WORD_LIST *list;
^
external/bash/variables.c:4820:12: warning: unused parameter 'name' [-Wunused-parameter]
char *name;
^
external/bash/variables.c:4831:12: warning: unused parameter 'name' [-Wunused-parameter]
char *name;
^
external/bash/variables.c:4899:12: warning: unused parameter 'name' [-Wunused-parameter]
char *name;
^
external/bash/variables.c:5030:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (val = extract_colon_unit (temp, &tptr))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/variables.c:5030:14: note: place parentheses around the assignment to silence this warning
while (val = extract_colon_unit (temp, &tptr))
^
( )
external/bash/variables.c:5030:14: note: use '==' to turn this assignment into an equality comparison
while (val = extract_colon_unit (temp, &tptr))
^
==
external/bash/variables.c:5079:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (v = find_variable (name))
~~^~~~~~~~~~~~~~~~~~~~~~
external/bash/variables.c:5079:9: note: place parentheses around the assignment to silence this warning
if (v = find_variable (name))
^
( )
external/bash/variables.c:5079:9: note: use '==' to turn this assignment into an equality comparison
if (v = find_variable (name))
^
==
external/bash/variables.c:5120:12: warning: unused parameter 'name' [-Wunused-parameter]
char *name;
^
external/bash/variables.c:5142:12: warning: unused parameter 'name' [-Wunused-parameter]
char *name;
^
40 warnings generated.
[ 12% 12073/97665] target C: bash <= external/bash/execute_cmd.c
external/bash/execute_cmd.c:1048:11: warning: 13 enumeration values not handled in switch: 'cm_for', 'cm_case', 'cm_while'... [-Wswitch]
switch (command->type)
^
external/bash/execute_cmd.c:1627:32: warning: missing field 'lock' initializer [-Wmissing-field-initializers]
cplist_t coproc_list = {0, 0, 0};
^
external/bash/execute_cmd.c:2254:10: warning: unused parameter 's' [-Wunused-parameter]
int s;
^
external/bash/execute_cmd.c:2902:12: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (slen == -1)
~~~~ ^ ~~
4 warnings generated.
[ 12% 12076/97665] target C: bash <= external/bash/hashlib.c
external/bash/hashlib.c:214:10: warning: unused parameter 'flags' [-Wunused-parameter]
int flags;
^
1 warning generated.
[ 12% 12077/97665] target C: bash <= external/bash/mailcheck.c
external/bash/mailcheck.c:394:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (mailfile = extract_colon_unit (mailpaths, &i))
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/mailcheck.c:394:19: note: place parentheses around the assignment to silence this warning
while (mailfile = extract_colon_unit (mailpaths, &i))
^
( )
external/bash/mailcheck.c:394:19: note: use '==' to turn this assignment into an equality comparison
while (mailfile = extract_colon_unit (mailpaths, &i))
^
==
external/bash/mailcheck.c:439:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
message = mailfiles[i]->msg ? mailfiles[i]->msg : _("You have mail in $_");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/mailcheck.c:464:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
message = _("You have new mail in $_");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/mailcheck.c:468:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES))
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/mailcheck.c:468:13: note: place parentheses around the assignment to silence this warning
if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES))
^
( )
external/bash/mailcheck.c:468:13: note: use '==' to turn this assignment into an equality comparison
if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES))
^
==
4 warnings generated.
[ 12% 12078/97665] target C: bash <= external/bash/jobs.c
external/bash/jobs.c:983:10: warning: unused parameter 'flags' [-Wunused-parameter]
int flags;
^
external/bash/jobs.c:1073:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (temp = jobs[job_index])
~~~~~^~~~~~~~~~~~~~~~~
external/bash/jobs.c:1073:12: note: place parentheses around the assignment to silence this warning
if (temp = jobs[job_index])
^
( )
external/bash/jobs.c:1073:12: note: use '==' to turn this assignment into an equality comparison
if (temp = jobs[job_index])
^
==
external/bash/jobs.c:1464:8: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
temp = _("Done");
^ ~~~~~~~~~
external/bash/jobs.c:1469:7: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
temp = _("Stopped");
^ ~~~~~~~~~~~~
external/bash/jobs.c:1477:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
temp = _("Running");
^ ~~~~~~~~~~~~
external/bash/jobs.c:1496:7: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
temp = _("Unknown status");
^ ~~~~~~~~~~~~~~~~~~~
external/bash/jobs.c:1677:11: warning: unused parameter 'job' [-Wunused-parameter]
JOB *job;
^
external/bash/jobs.c:1678:18: warning: unused parameter 'ignore' [-Wunused-parameter]
int format, ignore, job_index;
^
external/bash/jobs.c:2240:10: warning: unused parameter 'sig' [-Wunused-parameter]
int sig;
^
external/bash/jobs.c:3167:10: warning: unused parameter 'sig' [-Wunused-parameter]
int sig;
^
external/bash/jobs.c:3190:12: warning: unused parameter 'wpid' [-Wunused-parameter]
pid_t wpid;
^
external/bash/jobs.c:3927:10: warning: unused parameter 'tty' [-Wunused-parameter]
int tty;
^
external/bash/jobs.c:4004:10: warning: unused parameter 'sig' [-Wunused-parameter]
int sig;
^
13 warnings generated.
[ 12% 12079/97665] target C: bash <= external/bash/trap.c
external/bash/trap.c:216:7: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ret = (sig >= BASH_NSIG || sig < 0 || signal_names[sig] == NULL)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[ 12% 12080/97665] target C: bash <= external/bash/input.c
external/bash/input.c:125:12: warning: unused parameter 'stream' [-Wunused-parameter]
FILE *stream;
^
1 warning generated.
[ 12% 12081/97665] target C: bash <= external/bash/unwind_prot.c
external/bash/unwind_prot.c:208:12: warning: unused parameter 'ignore1' [-Wunused-parameter]
char *ignore1, *ignore2;
^
external/bash/unwind_prot.c:208:22: warning: unused parameter 'ignore2' [-Wunused-parameter]
char *ignore1, *ignore2;
^
external/bash/unwind_prot.c:222:12: warning: unused parameter 'ignore1' [-Wunused-parameter]
char *ignore1, *ignore2;
^
external/bash/unwind_prot.c:222:22: warning: unused parameter 'ignore2' [-Wunused-parameter]
char *ignore1, *ignore2;
^
external/bash/unwind_prot.c:229:19: warning: unused parameter 'ignore' [-Wunused-parameter]
char *flag, *ignore;
^
external/bash/unwind_prot.c:247:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (elt = unwind_protect_list)
~~~~^~~~~~~~~~~~~~~~~~~~~
external/bash/unwind_prot.c:247:14: note: place parentheses around the assignment to silence this warning
while (elt = unwind_protect_list)
^
( )
external/bash/unwind_prot.c:247:14: note: use '==' to turn this assignment into an equality comparison
while (elt = unwind_protect_list)
^
==
external/bash/unwind_prot.c:241:18: warning: unused parameter 'ignore' [-Wunused-parameter]
char *tag, *ignore;
^
external/bash/unwind_prot.c:282:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (elt = unwind_protect_list)
~~~~^~~~~~~~~~~~~~~~~~~~~
external/bash/unwind_prot.c:282:14: note: place parentheses around the assignment to silence this warning
while (elt = unwind_protect_list)
^
( )
external/bash/unwind_prot.c:282:14: note: use '==' to turn this assignment into an equality comparison
while (elt = unwind_protect_list)
^
==
external/bash/unwind_prot.c:276:18: warning: unused parameter 'ignore' [-Wunused-parameter]
char *tag, *ignore;
^
9 warnings generated.
[ 12% 12082/97665] target C: bash <= external/bash/pathexp.c
external/bash/pathexp.c:75:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = *string++)
~~^~~~~~~~~~~
external/bash/pathexp.c:75:12: note: place parentheses around the assignment to silence this warning
while (c = *string++)
^
( )
external/bash/pathexp.c:75:12: note: use '==' to turn this assignment into an equality comparison
while (c = *string++)
^
==
external/bash/pathexp.c:333:7: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
COPY_CHAR_P (t, s, send);
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:287:22: note: expanded from macro 'COPY_CHAR_P'
for (_k = 0; _k < mblength; _k++) \
~~ ^ ~~~~~~~~
external/bash/pathexp.c:592:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (colon_bit = split_ignorespec (this_ignoreval, &ptr))
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/pathexp.c:592:20: note: place parentheses around the assignment to silence this warning
while (colon_bit = split_ignorespec (this_ignoreval, &ptr))
^
( )
external/bash/pathexp.c:592:20: note: use '==' to turn this assignment into an equality comparison
while (colon_bit = split_ignorespec (this_ignoreval, &ptr))
^
==
3 warnings generated.
[ 12% 12084/97665] target C: bash <= external/bash/sig.c
external/bash/sig.c:108:10: warning: unused parameter 'reinit' [-Wunused-parameter]
int reinit;
^
external/bash/sig.c:252:17: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i = 0; i < TERMSIGS_LENGTH; i++)
~ ^ ~~~~~~~~~~~~~~~
external/bash/sig.c:254:17: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i = 0; i < TERMSIGS_LENGTH; i++)
~ ^ ~~~~~~~~~~~~~~~
external/bash/sig.c:349:17: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i = 0; i < TERMSIGS_LENGTH; i++)
~ ^ ~~~~~~~~~~~~~~~
external/bash/sig.c:634:10: warning: unused parameter 'sig' [-Wunused-parameter]
int sig;
^
external/bash/sig.c:662:10: warning: unused parameter 'sig' [-Wunused-parameter]
int sig;
^
6 warnings generated.
[ 12% 12085/97665] target C: bash <= external/bash/test.c
In file included from external/bash/test.c:53:
external/bash/include/stat-time.h:65:39: warning: unused parameter 'st' [-Wunused-parameter]
get_stat_atime_ns (struct stat const *st)
^
external/bash/include/stat-time.h:78:39: warning: unused parameter 'st' [-Wunused-parameter]
get_stat_ctime_ns (struct stat const *st)
^
external/bash/include/stat-time.h:91:39: warning: unused parameter 'st' [-Wunused-parameter]
get_stat_mtime_ns (struct stat const *st)
^
external/bash/test.c:147:22: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("argument expected"), (char *)NULL);
^~~~~~~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/test.c:156:22: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("%s: integer expression expected"), pch);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/test.c:264:21: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("`)' expected"), (char *)NULL);
^~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/test.c:266:21: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("`)' expected, found %s"), argv[pos]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/test.c:281:21: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("%s: unary operator expected"), argv[pos]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/test.c:468:26: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("%s: binary operator expected"), w);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/test.c:743:21: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("%s: unary operator expected"), argv[pos]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/test.c:746:24: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("%s: unary operator expected"), argv[pos]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/test.c:786:24: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("%s: binary operator expected"), argv[pos+1]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/test.c:861:21: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("missing `]'"), (char *)NULL);
^~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/test.c:877:24: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
test_syntax_error (_("too many arguments"), (char *)NULL);
^~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
external/bash/include/gettext.h:46:25: note: expanded from macro 'gettext'
# define gettext(Msgid) ((const char *) (Msgid))
^~~~~~~~~~~~~~~~~~~~~~~~
14 warnings generated.
[ 12% 12087/97665] target C: bash <= external/bash/arrayfunc.c
external/bash/arrayfunc.c:417:10: warning: unused parameter 'flags' [-Wunused-parameter]
int flags;
^
external/bash/arrayfunc.c:687:7: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
COPY_CHAR_P (t, s, send);
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:287:22: note: expanded from macro 'COPY_CHAR_P'
for (_k = 0; _k < mblength; _k++) \
~~ ^ ~~~~~~~~
external/bash/arrayfunc.c:857:17: warning: unused parameter 'var' [-Wunused-parameter]
SHELL_VAR *var;
^
3 warnings generated.
[ 12% 12089/97665] target C: bash <= external/bash/subst.c
external/bash/subst.c:589:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[sindex])
~~^~~~~~~~~~~~~~~~
external/bash/subst.c:589:12: note: place parentheses around the assignment to silence this warning
while (c = string[sindex])
^
( )
external/bash/subst.c:589:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[sindex])
^
==
external/bash/subst.c:632:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (sindex = 0; c = string[sindex]; )
~~^~~~~~~~~~~~~~~~
external/bash/subst.c:632:22: note: place parentheses around the assignment to silence this warning
for (sindex = 0; c = string[sindex]; )
^
( )
external/bash/subst.c:632:22: note: use '==' to turn this assignment into an equality comparison
for (sindex = 0; c = string[sindex]; )
^
==
external/bash/subst.c:741:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
external/bash/subst.c:741:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
external/bash/subst.c:741:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
external/bash/subst.c:812:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
external/bash/subst.c:812:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
external/bash/subst.c:812:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
external/bash/subst.c:846:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
COPY_CHAR_I (temp, j, string, send, i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:326:22: note: expanded from macro 'COPY_CHAR_I'
for (_k = 0; _k < mblength; _k++) \
~~ ^ ~~~~~~~~
external/bash/subst.c:960:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
external/bash/subst.c:960:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
external/bash/subst.c:960:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
external/bash/subst.c:1096:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
external/bash/subst.c:1096:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
external/bash/subst.c:1096:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
external/bash/subst.c:1132:13: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (len == -1)
~~~ ^ ~~
external/bash/subst.c:1197:12: warning: unused parameter 'starter' [-Wunused-parameter]
char *starter;
^
external/bash/subst.c:1424:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
external/bash/subst.c:1424:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
external/bash/subst.c:1424:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
external/bash/subst.c:1556:12: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
while (i < slen)
~ ^ ~~~~
external/bash/subst.c:1622:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
external/bash/subst.c:1622:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
external/bash/subst.c:1622:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
external/bash/subst.c:1730:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
external/bash/subst.c:1730:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
external/bash/subst.c:1730:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
external/bash/subst.c:2653:21: warning: unused parameter 'separators' [-Wunused-parameter]
char *string, *separators;
^
external/bash/subst.c:2849:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = mbschr (name, '[')) /*]*/
~~^~~~~~~~~~~~~~~~~~~~
external/bash/subst.c:2849:9: note: place parentheses around the assignment to silence this warning
if (t = mbschr (name, '[')) /*]*/
^
( )
external/bash/subst.c:2849:9: note: use '==' to turn this assignment into an equality comparison
if (t = mbschr (name, '[')) /*]*/
^
==
external/bash/subst.c:2910:10: warning: unused parameter 'flags' [-Wunused-parameter]
int flags;
^
external/bash/subst.c:3557:7: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
COPY_CHAR_P (t, s, send);
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:287:22: note: expanded from macro 'COPY_CHAR_P'
for (_k = 0; _k < mblength; _k++) \
~~ ^ ~~~~~~~~
external/bash/subst.c:3623:7: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
COPY_CHAR_P (t, s, send);
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:287:22: note: expanded from macro 'COPY_CHAR_P'
for (_k = 0; _k < mblength; _k++) \
~~ ^ ~~~~~~~~
external/bash/subst.c:3699:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
COPY_CHAR_P (t, string, send);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:287:22: note: expanded from macro 'COPY_CHAR_P'
for (_k = 0; _k < mblength; _k++) \
~~ ^ ~~~~~~~~
external/bash/subst.c:3741:7: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
COPY_CHAR_P (t, s, send);
^~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:287:22: note: expanded from macro 'COPY_CHAR_P'
for (_k = 0; _k < mblength; _k++) \
~~ ^ ~~~~~~~~
external/bash/subst.c:3824:12: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
while (i < slen)
~ ^ ~~~~
external/bash/subst.c:3833:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (i == slen)
~ ^ ~~~~
external/bash/subst.c:4017:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
for (n = 0; n <= wstrlen; n++)
~ ^ ~~~~~~~
external/bash/subst.c:4030:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
for (n = 0; n <= wstrlen; n++)
~ ^ ~~~~~~~
external/bash/subst.c:4313:21: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
for (n = 0; n <= wstrlen; n++)
~ ^ ~~~~~~~
external/bash/subst.c:4319:15: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (n1 > wstrlen)
~~ ^ ~~~~~~~
external/bash/subst.c:4365:61: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
for (n = wstrlen - ((mlen == -1) ? wstrlen : mlen); n <= wstrlen; n++)
~ ^ ~~~~~~~
external/bash/subst.c:4452:18: warning: unused parameter 'expandpat' [-Wunused-parameter]
int quoted, expandpat;
^
external/bash/subst.c:5382:7: warning: variable 'old_pid' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (pipe (fildes) < 0)
^~~~~~~~~~~~~~~~~
external/bash/subst.c:5425:23: note: uninitialized use occurs here
last_made_pid = old_pid;
^~~~~~~
external/bash/subst.c:5382:3: note: remove the 'if' if its condition is always false
if (pipe (fildes) < 0)
^~~~~~~~~~~~~~~~~~~~~~
external/bash/subst.c:5348:21: note: initialize the variable 'old_pid' to silence this warning
pid_t pid, old_pid, old_pipeline_pgrp, old_async_pid;
^
= 0
external/bash/subst.c:5806:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (var = find_variable (name))
~~~~^~~~~~~~~~~~~~~~~~~~~~
external/bash/subst.c:5806:16: note: place parentheses around the assignment to silence this warning
else if (var = find_variable (name))
^
( )
external/bash/subst.c:5806:16: note: use '==' to turn this assignment into an equality comparison
else if (var = find_variable (name))
^
==
external/bash/subst.c:5829:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (var = find_variable_last_nameref (name))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/subst.c:5829:16: note: place parentheses around the assignment to silence this warning
else if (var = find_variable_last_nameref (name))
^
( )
external/bash/subst.c:5829:16: note: use '==' to turn this assignment into an equality comparison
else if (var = find_variable_last_nameref (name))
^
==
external/bash/subst.c:6730:7: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
RESIZE_MALLOCED_BUFFER (ret, rptr, STRLEN(str) + 1, rsize, 64);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/general.h:166:25: note: expanded from macro 'RESIZE_MALLOCED_BUFFER'
if ((cind) + (room) >= csize) \
~~~~~~~~~~~~~~~ ^ ~~~~~
external/bash/subst.c:6730:7: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
RESIZE_MALLOCED_BUFFER (ret, rptr, STRLEN(str) + 1, rsize, 64);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/general.h:168:25: note: expanded from macro 'RESIZE_MALLOCED_BUFFER'
while ((cind) + (room) >= csize) \
~~~~~~~~~~~~~~~ ^ ~~~~~
external/bash/subst.c:6742:12: warning: unused parameter 'string' [-Wunused-parameter]
char *string, *pat, *rep;
^
external/bash/subst.c:6933:12: warning: unused parameter 'string' [-Wunused-parameter]
char *string, *pat;
^
external/bash/subst.c:7188:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (c = string[sindex])
~~^~~~~~~~~~~~~~~~
external/bash/subst.c:7188:9: note: place parentheses around the assignment to silence this warning
if (c = string[sindex])
^
( )
external/bash/subst.c:7188:9: note: use '==' to turn this assignment into an equality comparison
if (c = string[sindex])
^
==
external/bash/subst.c:7198:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (c = string[sindex])
~~^~~~~~~~~~~~~~~~
external/bash/subst.c:7198:13: note: place parentheses around the assignment to silence this warning
if (c = string[sindex])
^
( )
external/bash/subst.c:7198:13: note: use '==' to turn this assignment into an equality comparison
if (c = string[sindex])
^
==
external/bash/subst.c:8229:8: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
SADD_MBQCHAR_BODY(temp, string, sindex, string_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:500:20: note: expanded from macro 'SADD_MBQCHAR_BODY'
for (i = 0; i < mblength; i++) \
~ ^ ~~~~~~~~
external/bash/subst.c:8487:8: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
SCOPY_CHAR_I (twochars, CTLESC, c, string, sindex, string_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:371:22: note: expanded from macro 'SCOPY_CHAR_I'
for (_i = 0; _i < mblength; _i++) \
~~ ^ ~~~~~~~~
external/bash/subst.c:8498:8: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
SCOPY_CHAR_I (twochars, CTLESC, c, string, sindex, string_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:371:22: note: expanded from macro 'SCOPY_CHAR_I'
for (_i = 0; _i < mblength; _i++) \
~~ ^ ~~~~~~~~
external/bash/subst.c:8502:8: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
SCOPY_CHAR_I (twochars, '\\', c, string, sindex, string_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:371:22: note: expanded from macro 'SCOPY_CHAR_I'
for (_i = 0; _i < mblength; _i++) \
~~ ^ ~~~~~~~~
external/bash/subst.c:8512:8: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
SCOPY_CHAR_I (twochars, CTLESC, c, string, sindex, string_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:371:22: note: expanded from macro 'SCOPY_CHAR_I'
for (_i = 0; _i < mblength; _i++) \
~~ ^ ~~~~~~~~
external/bash/subst.c:8735:9: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
SADD_MBQCHAR_BODY(temp, string, sindex, string_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:500:20: note: expanded from macro 'SADD_MBQCHAR_BODY'
for (i = 0; i < mblength; i++) \
~ ^ ~~~~~~~~
external/bash/subst.c:8747:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
SADD_MBCHAR (temp, string, sindex, string_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/include/shmbutil.h:461:20: note: expanded from macro 'SADD_MBCHAR'
for (i = 0; i < mblength; i++) \
~ ^ ~~~~~~~~
external/bash/subst.c:8931:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (dquote = sindex = 0; c = string[sindex];)
~~^~~~~~~~~~~~~~~~
external/bash/subst.c:8931:31: note: place parentheses around the assignment to silence this warning
for (dquote = sindex = 0; c = string[sindex];)
^
( )
external/bash/subst.c:8931:31: note: use '==' to turn this assignment into an equality comparison
for (dquote = sindex = 0; c = string[sindex];)
^
==
external/bash/subst.c:9302:10: warning: unused parameter 'eflags' [-Wunused-parameter]
int eflags;
^
external/bash/subst.c:9447:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (eindex = 0; temp_string = expansions[eindex]; eindex++)
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
external/bash/subst.c:9447:33: note: place parentheses around the assignment to silence this warning
for (eindex = 0; temp_string = expansions[eindex]; eindex++)
^
( )
external/bash/subst.c:9447:33: note: use '==' to turn this assignment into an equality comparison
for (eindex = 0; temp_string = expansions[eindex]; eindex++)
^
==
external/bash/subst.c:9410:10: warning: unused parameter 'eflags' [-Wunused-parameter]
int eflags;
^
external/bash/subst.c:9537:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
opts[opti++] = '-';
^~~~~~~
external/bash/subst.c:9541:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
opts[opti++] = 'g';
^~~~~~~
external/bash/subst.c:9542:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
opts[opti++] = 'A';
^~~~~~~
external/bash/subst.c:9545:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
opts[opti++] = 'A';
^~~~~~~
external/bash/subst.c:9548:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
opts[opti++] = 'g';
^~~~~~~
external/bash/subst.c:9549:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
opts[opti++] = 'a';
^~~~~~~
external/bash/subst.c:9552:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
opts[opti++] = 'a';
^~~~~~~
external/bash/subst.c:9554:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
opts[opti++] = 'g';
^~~~~~~
external/bash/subst.c:9562:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
opts[opti] = '\0';
^~~~~
external/bash/subst.c:9509:10: warning: unused parameter 'eflags' [-Wunused-parameter]
int eflags;
^
58 warnings generated.
[ 12% 12091/97665] target C: bash <= external/bash/bracecomp.c
external/bash/bracecomp.c:191:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, ignore;
^
external/bash/bracecomp.c:191:17: warning: unused parameter 'ignore' [-Wunused-parameter]
int count, ignore;
^
2 warnings generated.
[ 12% 12092/97665] target C: bash <= external/bash/braces.c
external/bash/braces.c:284:10: warning: unused parameter 'flags' [-Wunused-parameter]
int flags;
^
external/bash/braces.c:436:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = (char *)malloc (2))
~~^~~~~~~~~~~~~~~~~~~~
external/bash/braces.c:436:10: note: place parentheses around the assignment to silence this warning
if (t = (char *)malloc (2))
^
( )
external/bash/braces.c:436:10: note: use '==' to turn this assignment into an equality comparison
if (t = (char *)malloc (2))
^
==
external/bash/braces.c:616:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = text[i])
~~^~~~~~~~~
external/bash/braces.c:616:12: note: place parentheses around the assignment to silence this warning
while (c = text[i])
^
( )
external/bash/braces.c:616:12: note: use '==' to turn this assignment into an equality comparison
while (c = text[i])
^
==
3 warnings generated.
[ 12% 12093/97665] target C: bash <= external/bash/bashhist.c
external/bash/bashhist.c:632:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (temp = previous_history ())
~~~~~^~~~~~~~~~~~~~~~~~~~~
external/bash/bashhist.c:632:15: note: place parentheses around the assignment to silence this warning
while (temp = previous_history ())
^
( )
external/bash/bashhist.c:632:15: note: use '==' to turn this assignment into an equality comparison
while (temp = previous_history ())
^
==
external/bash/bashhist.c:849:12: warning: unused parameter 'varname' [-Wunused-parameter]
char *varname;
^
2 warnings generated.
[ 12% 12095/97665] target C: bash <= external/bash/stringlib.c
external/bash/stringlib.c:81:10: warning: unused parameter 'flags' [-Wunused-parameter]
int flags;
^
1 warning generated.
[ 12% 12096/97665] target C: bash <= external/bash/findcmd.c
external/bash/findcmd.c:239:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/findcmd.c:239:11: note: place parentheses around the assignment to silence this warning
if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */
^
( )
external/bash/findcmd.c:239:11: note: use '==' to turn this assignment into an equality comparison
if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */
^
==
external/bash/findcmd.c:475:17: warning: unused parameter 'name_len' [-Wunused-parameter]
int flags, name_len;
^
2 warnings generated.
[ 12% 12097/97665] target C: bash <= external/bash/locale.c
external/bash/locale.c:272:12: warning: unused parameter 'var' [-Wunused-parameter]
char *var, *value;
^
external/bash/locale.c:399:16: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
translated = dgettext (default_domain, string);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[ 12% 12098/97665] target C: bash <= external/bash/redir.c
external/bash/redir.c:123:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
filename = _("file descriptor out of range");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/redir.c:170:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
filename = _("file descriptor out of range");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/redir.c:541:10: warning: unused parameter 'flags' [-Wunused-parameter]
int flags, mode;
^
external/bash/redir.c:541:17: warning: unused parameter 'mode' [-Wunused-parameter]
int flags, mode;
^
external/bash/redir.c:542:25: warning: unused parameter 'ri' [-Wunused-parameter]
enum r_instruction ri;
^
external/bash/redir.c:599:25: warning: unused parameter 'ri' [-Wunused-parameter]
enum r_instruction ri;
^
external/bash/redir.c:755:12: warning: 16 enumeration values not handled in switch: 'r_output_direction', 'r_input_direction', 'r_inputa_direction'... [-Wswitch]
switch (ri)
^
external/bash/redir.c:815:11: warning: enumeration values 'r_move_input_word' and 'r_move_output_word' not handled in switch [-Wswitch]
switch (ri)
^
external/bash/redir.c:1299:11: warning: 4 enumeration values not handled in switch: 'r_move_input', 'r_move_output', 'r_move_input_word'... [-Wswitch]
switch (ri)
^
external/bash/redir.c:1373:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (vr = valid_array_reference (w))
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/redir.c:1373:10: note: place parentheses around the assignment to silence this warning
if (vr = valid_array_reference (w))
^
( )
external/bash/redir.c:1373:10: note: use '==' to turn this assignment into an equality comparison
if (vr = valid_array_reference (w))
^
==
10 warnings generated.
[ 12% 12100/97665] target C: bash <= external/bash/bashline.c
external/bash/bashline.c:671:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, c;
^
external/bash/bashline.c:671:17: warning: unused parameter 'c' [-Wunused-parameter]
int count, c;
^
external/bash/bashline.c:752:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (temp = fgets (buffer, 255, file))
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashline.c:752:15: note: place parentheses around the assignment to silence this warning
while (temp = fgets (buffer, 255, file))
^
( )
external/bash/bashline.c:752:15: note: use '==' to turn this assignment into an equality comparison
while (temp = fgets (buffer, 255, file))
^
==
external/bash/bashline.c:905:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, c;
^
external/bash/bashline.c:1023:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, key;
^
external/bash/bashline.c:1023:17: warning: unused parameter 'key' [-Wunused-parameter]
int count, key;
^
external/bash/bashline.c:1356:18: warning: unused parameter 'text' [-Wunused-parameter]
const char *text;
^
external/bash/bashline.c:1496:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (was_assignment = assignment (n, 0));
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
external/bash/bashline.c:1496:29: note: place parentheses around the assignment to silence this warning
while (was_assignment = assignment (n, 0));
^
( )
external/bash/bashline.c:1496:29: note: use '==' to turn this assignment into an equality comparison
while (was_assignment = assignment (n, 0));
^
==
external/bash/bashline.c:1960:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (val = glob_matches[local_index++])
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashline.c:1960:18: note: place parentheses around the assignment to silence this warning
while (val = glob_matches[local_index++])
^
( )
external/bash/bashline.c:1960:18: note: use '==' to turn this assignment into an equality comparison
while (val = glob_matches[local_index++])
^
==
external/bash/bashline.c:2357:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (srvent = getservent ())
~~~~~~~^~~~~~~~~~~~~~~
external/bash/bashline.c:2357:17: note: place parentheses around the assignment to silence this warning
while (srvent = getservent ())
^
( )
external/bash/bashline.c:2357:17: note: use '==' to turn this assignment into an equality comparison
while (srvent = getservent ())
^
==
external/bash/bashline.c:2393:18: warning: unused parameter 'text' [-Wunused-parameter]
const char *text;
^
external/bash/bashline.c:2394:10: warning: unused parameter 'state' [-Wunused-parameter]
int state;
^
external/bash/bashline.c:2525:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, ignore;
^
external/bash/bashline.c:2525:17: warning: unused parameter 'ignore' [-Wunused-parameter]
int count, ignore;
^
external/bash/bashline.c:2548:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, ignore;
^
external/bash/bashline.c:2548:17: warning: unused parameter 'ignore' [-Wunused-parameter]
int count, ignore;
^
external/bash/bashline.c:2593:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, ignore;
^
external/bash/bashline.c:2593:17: warning: unused parameter 'ignore' [-Wunused-parameter]
int count, ignore;
^
external/bash/bashline.c:2631:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, ignore;
^
external/bash/bashline.c:2631:17: warning: unused parameter 'ignore' [-Wunused-parameter]
int count, ignore;
^
external/bash/bashline.c:2877:18: warning: unused parameter 'name' [-Wunused-parameter]
const char *name;
^
external/bash/bashline.c:3046:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = mbschr (local_dirname, '$'))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashline.c:3046:9: note: place parentheses around the assignment to silence this warning
if (t = mbschr (local_dirname, '$'))
^
( )
external/bash/bashline.c:3046:9: note: use '==' to turn this assignment into an equality comparison
if (t = mbschr (local_dirname, '$'))
^
==
external/bash/bashline.c:3048:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (t = mbschr (local_dirname, '`')) /* XXX */
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashline.c:3048:14: note: place parentheses around the assignment to silence this warning
else if (t = mbschr (local_dirname, '`')) /* XXX */
^
( )
external/bash/bashline.c:3048:14: note: use '==' to turn this assignment into an equality comparison
else if (t = mbschr (local_dirname, '`')) /* XXX */
^
==
external/bash/bashline.c:3126:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = mbschr (local_dirname, '$'))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashline.c:3126:9: note: place parentheses around the assignment to silence this warning
if (t = mbschr (local_dirname, '$'))
^
( )
external/bash/bashline.c:3126:9: note: use '==' to turn this assignment into an equality comparison
if (t = mbschr (local_dirname, '$'))
^
==
external/bash/bashline.c:3177:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = j = 0; c = default_filename_quote_characters[i]; i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/bash/bashline.c:3177:26: note: place parentheses around the assignment to silence this warning
for (i = j = 0; c = default_filename_quote_characters[i]; i++)
^
( )
external/bash/bashline.c:3177:26: note: use '==' to turn this assignment into an equality comparison
for (i = j = 0; c = default_filename_quote_characters[i]; i++)
^
==
external/bash/bashline.c:3364:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, key;
^
external/bash/bashline.c:3364:17: warning: unused parameter 'key' [-Wunused-parameter]
int count, key;
^
external/bash/bashline.c:3434:10: warning: unused parameter 'ignore' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3434:18: warning: unused parameter 'ignore2' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3441:10: warning: unused parameter 'ignore' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3441:18: warning: unused parameter 'ignore2' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3455:10: warning: unused parameter 'ignore' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3455:18: warning: unused parameter 'ignore2' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3462:10: warning: unused parameter 'ignore' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3462:18: warning: unused parameter 'ignore2' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3504:10: warning: unused parameter 'ignore' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3504:18: warning: unused parameter 'ignore2' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3511:10: warning: unused parameter 'ignore' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3511:18: warning: unused parameter 'ignore2' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3518:10: warning: unused parameter 'ignore' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3518:18: warning: unused parameter 'ignore2' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3525:10: warning: unused parameter 'ignore' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3525:18: warning: unused parameter 'ignore2' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3532:10: warning: unused parameter 'ignore' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3532:18: warning: unused parameter 'ignore2' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3539:10: warning: unused parameter 'ignore' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3539:18: warning: unused parameter 'ignore2' [-Wunused-parameter]
int ignore, ignore2;
^
external/bash/bashline.c:3637:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, key;
^
external/bash/bashline.c:3637:17: warning: unused parameter 'key' [-Wunused-parameter]
int count, key;
^
external/bash/bashline.c:3655:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, key;
^
external/bash/bashline.c:3655:17: warning: unused parameter 'key' [-Wunused-parameter]
int count, key;
^
external/bash/bashline.c:3662:10: warning: unused parameter 'count' [-Wunused-parameter]
int count, key;
^
external/bash/bashline.c:3662:17: warning: unused parameter 'key' [-Wunused-parameter]
int count, key;
^
external/bash/bashline.c:3776:44: warning: array subscript is of type 'char' [-Wchar-subscripts]
else if (quoted == '"' && ((sh_syntaxtab[p[1]] & CBSDQUOTE) == 0))
^~~~~
external/bash/bashline.c:3849:19: warning: array subscript is of type 'char' [-Wchar-subscripts]
filename_bstab[*s] = 1;
^~~
external/bash/bashline.c:3974:10: warning: unused parameter 'count' [-Wunused-parameter]
int count; /* ignored */
^
external/bash/bashline.c:3975:10: warning: unused parameter 'key' [-Wunused-parameter]
int key;
^
external/bash/bashline.c:4094:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (passc = 0; c = string[i]; i++)
~~^~~~~~~~~~~
external/bash/bashline.c:4094:21: note: place parentheses around the assignment to silence this warning
for (passc = 0; c = string[i]; i++)
^
( )
external/bash/bashline.c:4094:21: note: use '==' to turn this assignment into an equality comparison
for (passc = 0; c = string[i]; i++)
^
==
58 warnings generated.
[ 12% 12102/97665] target C: bash <= external/bash/pcomplete.c
external/bash/pcomplete.c:159:61: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_aliases = { 0, it_init_aliases, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:160:77: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_arrayvars = { LIST_DYNAMIC, it_init_arrayvars, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:161:64: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_bindings = { 0, it_init_bindings, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:162:64: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_builtins = { 0, it_init_builtins, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:163:39: warning: missing field 'list_getter' initializer [-Wmissing-field-initializers]
ITEMLIST it_commands = { LIST_DYNAMIC }; /* unused */
^
external/bash/pcomplete.c:164:42: warning: missing field 'list_getter' initializer [-Wmissing-field-initializers]
ITEMLIST it_directories = { LIST_DYNAMIC }; /* unused */
^
external/bash/pcomplete.c:165:63: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_disabled = { 0, it_init_disabled, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:166:61: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_enabled = { 0, it_init_enabled, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:167:74: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_exports = { LIST_DYNAMIC, it_init_exported, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:168:36: warning: missing field 'list_getter' initializer [-Wmissing-field-initializers]
ITEMLIST it_files = { LIST_DYNAMIC }; /* unused */
^
external/bash/pcomplete.c:169:66: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_functions = { 0, it_init_functions, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:170:68: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_helptopics = { 0, it_init_helptopics, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:171:77: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_hostnames = { LIST_DYNAMIC, it_init_hostnames, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:172:37: warning: missing field 'list_getter' initializer [-Wmissing-field-initializers]
ITEMLIST it_groups = { LIST_DYNAMIC }; /* unused */
^
external/bash/pcomplete.c:173:66: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_jobs = { LIST_DYNAMIC, it_init_jobs, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:174:63: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_keywords = { 0, it_init_keywords, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:175:72: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_running = { LIST_DYNAMIC, it_init_running, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:176:39: warning: missing field 'list_getter' initializer [-Wmissing-field-initializers]
ITEMLIST it_services = { LIST_DYNAMIC }; /* unused */
^
external/bash/pcomplete.c:177:61: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_setopts = { 0, it_init_setopts, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:178:59: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_shopts = { 0, it_init_shopts, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:179:61: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_signals = { 0, it_init_signals, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:180:72: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_stopped = { LIST_DYNAMIC, it_init_stopped, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:181:36: warning: missing field 'list_getter' initializer [-Wmissing-field-initializers]
ITEMLIST it_users = { LIST_DYNAMIC }; /* unused */
^
external/bash/pcomplete.c:182:76: warning: missing field 'genlist' initializer [-Wmissing-field-initializers]
ITEMLIST it_variables = { LIST_DYNAMIC, it_init_variables, (STRINGLIST *)0 };
^
external/bash/pcomplete.c:781:29: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sh_contains_quotes (text)) /* guess */
^~~~
external/bash/externs.h:327:42: note: passing argument to parameter here
extern int sh_contains_quotes __P((char *));
^
external/bash/pcomplete.c:884:19: warning: unused parameter 'text' [-Wunused-parameter]
const char *text;
^
external/bash/pcomplete.c:1099:10: warning: unused parameter 'nw' [-Wunused-parameter]
int nw, cw;
^
external/bash/pcomplete.c:1204:10: warning: unused parameter 'nw' [-Wunused-parameter]
int nw, cw;
^
external/bash/pcomplete.c:1465:57: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
tmatches = filter_stringlist (ret, cs->filterpat, word);
^~~~
29 warnings generated.
[ 12% 12107/97665] target C: libbuiltins <= external/bash/builtins/colon.c
./colon.def:56:12: warning: unused parameter 'ignore' [-Wunused-parameter]
char *ignore;
^
./colon.def:64:12: warning: unused parameter 'ignore' [-Wunused-parameter]
char *ignore;
^
2 warnings generated.
[ 12% 12108/97665] target C: libbuiltins <= external/bash/builtins/cd.c
./cd.def:192:12: warning: unused parameter 'dir' [-Wunused-parameter]
char *dir; /* don't assume we can always free DIR */
^
./cd.def:193:13: warning: unused parameter 'ndirp' [-Wunused-parameter]
char **ndirp; /* return new constructed directory name */
^
./cd.def:355:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (path = extract_colon_unit (cdpath, &path_index))
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./cd.def:355:19: note: place parentheses around the assignment to silence this warning
while (path = extract_colon_unit (cdpath, &path_index))
^
( )
./cd.def:355:19: note: use '==' to turn this assignment into an equality comparison
while (path = extract_colon_unit (cdpath, &path_index))
^
==
./cd.def:533:19: warning: unused parameter 'xattr' [-Wunused-parameter]
int nolinks, xattr;
^
4 warnings generated.
[ 12% 12110/97665] target C: libbuiltins <= external/bash/builtins/declare.c
./declare.def:333:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = strchr (name, '[')) /* ] */
~~^~~~~~~~~~~~~~~~~~~~
./declare.def:333:13: note: place parentheses around the assignment to silence this warning
if (t = strchr (name, '[')) /* ] */
^
( )
./declare.def:333:13: note: use '==' to turn this assignment into an equality comparison
if (t = strchr (name, '[')) /* ] */
^
==
1 warning generated.
[ 12% 12111/97665] target C: libbuiltins <= external/bash/builtins/echo.c
./echo.def:139:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (i = *temp++)
~~^~~~~~~~~
./echo.def:139:16: note: place parentheses around the assignment to silence this warning
while (i = *temp++)
^
( )
./echo.def:139:16: note: use '==' to turn this assignment into an equality comparison
while (i = *temp++)
^
==
1 warning generated.
[ 12% 12117/97665] target C: libbuilt...s <= external/bash/builtins/evalfile.c
external/bash/builtins/evalfile.c:153:17: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'off_t' (aka 'long') [-Wsign-compare]
if (file_size != finfo.st_size || file_size + 1 < file_size)
~~~~~~~~~ ^ ~~~~~~~~~~~~~
1 warning generated.
[ 12% 12119/97665] target C: libbuilt...<= external/bash/builtins/evalstring.c
external/bash/builtins/evalstring.c:208:16: warning: passing 'volatile sigset_t *' to parameter of type 'sigset_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sigemptyset (&pe_sigmask);
^~~~~~~~~~~
bionic/libc/include/signal.h:125:26: note: passing argument to parameter here
int sigemptyset(sigset_t*) __INTRODUCED_IN(21);
^
external/bash/builtins/evalstring.c:209:45: warning: passing 'volatile sigset_t *' to parameter of type 'sigset_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sigprocmask (SIG_BLOCK, (sigset_t *)NULL, &pe_sigmask);
^~~~~~~~~~~
bionic/libc/include/signal.h:133:48: note: passing argument to parameter here
int sigprocmask(int, const sigset_t*, sigset_t*);
^
external/bash/builtins/evalstring.c:288:31: warning: passing 'volatile sigset_t *' to parameter of type 'const sigset_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sigprocmask (SIG_SETMASK, &pe_sigmask, (sigset_t *)NULL);
^~~~~~~~~~~
bionic/libc/include/signal.h:133:37: note: passing argument to parameter here
int sigprocmask(int, const sigset_t*, sigset_t*);
^
external/bash/builtins/evalstring.c:307:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (command = global_command)
~~~~~~~~^~~~~~~~~~~~~~~~
external/bash/builtins/evalstring.c:307:21: note: place parentheses around the assignment to silence this warning
else if (
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment