[Xiaomi Mi 4i] haikalizz:
Getting this, fixed the previous error...

target thumb C++: gps.msm8916_32 <= device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp
In file included from /home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocAdapterBase.h:33:0,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/LocEngAdapter.h:37,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng_ni.h:34,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng.h:53,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:35:
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:54:53: warning: unused parameter 'location' [-Wunused-parameter]
inline virtual bool reportPosition(UlpLocation &location,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:55:61: warning: unused parameter 'locationExtended' [-Wunused-parameter]
GpsLocationExtended &locationExtended,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:56:46: warning: unused parameter 'locationExt' [-Wunused-parameter]
void* locationExt,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:57:61: warning: unused parameter 'status' [-Wunused-parameter]
enum loc_sess_status status,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:58:55: warning: unused parameter 'loc_technology_mask' [-Wunused-parameter]
LocPosTechMask loc_technology_mask) {
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:61:47: warning: unused parameter 'svStatus' [-Wunused-parameter]
inline virtual bool reportSv(GpsSvStatus &svStatus,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:62:55: warning: unused parameter 'locationExtended' [-Wunused-parameter]
GpsLocationExtended &locationExtended,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:63:40: warning: unused parameter 'svExt' [-Wunused-parameter]
void* svExt) {
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:66:53: warning: unused parameter 'status' [-Wunused-parameter]
inline virtual bool reportStatus(GpsStatusValue status) {
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:69:52: warning: unused parameter 'adapter' [-Wunused-parameter]
inline virtual void setAdapter(LocAdapterBase* adapter) {}
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:70:55: warning: unused parameter 'capabilities' [-Wunused-parameter]
inline virtual void setCapabilities(unsigned long capabilities) {}
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:71:67: warning: unused parameter 'options' [-Wunused-parameter]
inline virtual bool reportBatchingSession(GpsExtBatchOptions &options,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:72:52: warning: unused parameter 'active' [-Wunused-parameter]
bool active) {
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:75:58: warning: unused parameter 'locations' [-Wunused-parameter]
inline virtual bool reportPositions(GpsExtLocation * locations,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:76:49: warning: unused parameter 'number_of_locations' [-Wunused-parameter]
int32_t number_of_locations,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:77:62: warning: unused parameter 'status' [-Wunused-parameter]
enum loc_sess_status status,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/UlpProxyBase.h:78:56: warning: unused parameter 'techMask' [-Wunused-parameter]
LocPosTechMask techMask) {
^
In file included from /home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/ContextBase.h:35:0,
from /home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocAdapterBase.h:34,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/LocEngAdapter.h:37,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng_ni.h:34,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng.h:53,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:35:
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocApiBase.h:216:43: warning: unused parameter 'inSession' [-Wunused-parameter]
inline virtual void setInSession(bool inSession) {}
^
In file included from /home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/ContextBase.h:36:0,
from /home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocAdapterBase.h:34,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/LocEngAdapter.h:37,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng_ni.h:34,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng.h:53,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:35:
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LBSProxyBase.h:43:34: warning: unused parameter 'msgTask' [-Wunused-parameter]
getLocApi(const MsgTask* msgTask,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LBSProxyBase.h:44:48: warning: unused parameter 'exMask' [-Wunused-parameter]
LOC_API_ADAPTER_EVENT_MASK_T exMask,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LBSProxyBase.h:45:32: warning: unused parameter 'context' [-Wunused-parameter]
ContextBase* context) const {
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LBSProxyBase.h:52:52: warning: unused parameter 'adapter' [-Wunused-parameter]
inline virtual void requestUlp(LocAdapterBase* adapter,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LBSProxyBase.h:53:50: warning: unused parameter 'capabilities' [-Wunused-parameter]
unsigned long capabilities) const {}
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LBSProxyBase.h:56:51: warning: unused parameter 'context' [-Wunused-parameter]
virtual void injectFeatureConfig(ContextBase* context) const {}
^
In file included from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/LocEngAdapter.h:37:0,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng_ni.h:34,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng.h:53,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:35:
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocAdapterBase.h:83:51: warning: unused parameter 'ulp' [-Wunused-parameter]
inline virtual void setUlpProxy(UlpProxyBase* ulp) {}
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocAdapterBase.h:86:56: warning: unused parameter 'posMode' [-Wunused-parameter]
inline virtual void setPositionModeInt(LocPosMode& posMode) {}
^
In file included from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/LocEngAdapter.h:38:0,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng_ni.h:34,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng.h:53,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:35:
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:44:27: error: expected ';' at end of member declaration
static const MsgTask* getMsgTask(MsgTask::tCreate tCreator,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:44:55: error: expected ')' before 'tCreator'
static const MsgTask* getMsgTask(MsgTask::tCreate tCreator,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:46:27: error: expected ';' at end of member declaration
static const MsgTask* getMsgTask(MsgTask::tAssociate tAssociate,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:46:47: error: redeclaration of 'const MsgTask* loc_core::LocDualContext::getMsgTask'
static const MsgTask* getMsgTask(MsgTask::tAssociate tAssociate,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:44:27: note: previous declaration 'const MsgTask* loc_core::LocDualContext::getMsgTask'
static const MsgTask* getMsgTask(MsgTask::tCreate tCreator,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:46:58: error: expected ')' before 'tAssociate'
static const MsgTask* getMsgTask(MsgTask::tAssociate tAssociate,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:60:25: error: expected ';' at end of member declaration
static ContextBase* getLocFgContext(MsgTask::tCreate tCreator,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:60:58: error: expected ')' before 'tCreator'
static ContextBase* getLocFgContext(MsgTask::tCreate tCreator,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:62:25: error: expected ';' at end of member declaration
static ContextBase* getLocFgContext(MsgTask::tAssociate tAssociate,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:62:50: error: redeclaration of 'loc_core::ContextBase* loc_core::LocDualContext::getLocFgContext'
static ContextBase* getLocFgContext(MsgTask::tAssociate tAssociate,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:60:25: note: previous declaration 'loc_core::ContextBase* loc_core::LocDualContext::getLocFgContext'
static ContextBase* getLocFgContext(MsgTask::tCreate tCreator,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:62:61: error: expected ')' before 'tAssociate'
static ContextBase* getLocFgContext(MsgTask::tAssociate tAssociate,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:64:25: error: expected ';' at end of member declaration
static ContextBase* getLocBgContext(MsgTask::tCreate tCreator,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:64:58: error: expected ')' before 'tCreator'
static ContextBase* getLocBgContext(MsgTask::tCreate tCreator,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:66:25: error: expected ';' at end of member declaration
static ContextBase* getLocBgContext(MsgTask::tAssociate tAssociate,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:66:50: error: redeclaration of 'loc_core::ContextBase* loc_core::LocDualContext::getLocBgContext'
static ContextBase* getLocBgContext(MsgTask::tAssociate tAssociate,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:64:25: note: previous declaration 'loc_core::ContextBase* loc_core::LocDualContext::getLocBgContext'
static ContextBase* getLocBgContext(MsgTask::tCreate tCreator,
^
/home/haikalizz/Development/Rom/out/target/product/ferrari/obj/include/libloc_core/LocDualContext.h:66:61: error: expected ')' before 'tAssociate'
static ContextBase* getLocBgContext(MsgTask::tAssociate tAssociate,
^
In file included from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng_ni.h:34:0,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng.h:53,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:35:
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/LocEngAdapter.h:91:28: error: 'MsgTask::tCreate' has not been declared
MsgTask::tCreate tCreator);
^
In file included from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng.h:54:0,
from device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:35:
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng_agps.h:373:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng_agps.h:373:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng_agps.h:407:50: warning: unused parameter 'v4' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc_eng_agps.h:407:60: warning: unused parameter 'v6' [-Wunused-parameter]
inline virtual void setIPAddresses(uint32_t &v4, char* v6) {}
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:115:1: warning: missing initializer for member 'AGpsInterface_v2::data_conn_open_with_apn_ip_type' [-Wmissing-field-initializers]
};
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1039:50: warning: unused parameter 'callbacks' [-Wunused-parameter]
static void loc_agps_ril_init( AGpsRilCallbacks* callbacks ) {}
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1040: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/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1040: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/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1041:51: warning: unused parameter 'type' [-Wunused-parameter]
static void loc_agps_ril_set_set_id(AGpsSetIDType type, const char* setid) {}
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1041:69: warning: unused parameter 'setid' [-Wunused-parameter]
static void loc_agps_ril_set_set_id(AGpsSetIDType type, const char* setid) {}
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1042:46: warning: unused parameter 'msg' [-Wunused-parameter]
static void loc_agps_ril_ni_message(uint8_t *msg, size_t len) {}
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1042:58: warning: unused parameter 'len' [-Wunused-parameter]
static void loc_agps_ril_ni_message(uint8_t *msg, size_t len) {}
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1043: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/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1043: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/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1043: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/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1043: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/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1077:75: warning: unused parameter 'fingerprints' [-Wunused-parameter]
static int loc_agps_revoke_certificates(const Sha1CertificateFingerprint* fingerprints,
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1078:48: warning: unused parameter 'length' [-Wunused-parameter]
size_t length)
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1094:55: warning: unused parameter 'locExt' [-Wunused-parameter]
static void local_loc_cb(UlpLocation* location, void* locExt)
^
device/xiaomi/ferrari/gps/loc_api/libloc_api_50001/loc.cpp:1107:55: warning: unused parameter 'svExt' [-Wunused-parameter]
static void local_sv_cb(GpsSvStatus* sv_status, void* svExt)
^
build/core/binary.mk:730: recipe for target '/home/haikalizz/Development/Rom/out/target/product/ferrari/obj_arm/SHARED_LIBRARIES/gps.msm8916_intermediates/loc.o' failed
make: *** [/home/haikalizz/Development/Rom/out/target/product/ferrari/obj_arm/SHARED_LIBRARIES/gps.msm8916_intermediates/loc.o] Error 1
make: *** Waiting for unfinished jobs....