[Samsung Galaxy Nexus] metalspring:
finally got everything back and building now :)

opps forgot that for some reason cm (or aosp) feels the need to add in a few, unneeded local -Werror s in lol

A little info on that though-

-Werror is a compiler flag (cflag for short) and it tells the compiler to treat all warnings as errors

and local just means its set for a certain part of the build (say the dalvik for instance)

however, 95% of the time those warnings are simply for if you want to really optimize the code and dont really hurt anything at all

and there are always little warnings that pop up when building, its only when -Werror is set that the build will stop and fail

and its an easy fix too, just delete the -Werror from the local makefile and go back to building :P

btw, they sure do have a long way to go to optimize some things lmao

example-

target arm C: libsonivox <= external/sonivox/arm-wt-22k/host_src/eas_wave.c

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWMalloc':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:155:40: warning: unused parameter 'hwInstData' [-Wunused-parameter]

void *EAS_HWMalloc (EAS_HW_DATA_HANDLE hwInstData, EAS_I32 size)

^

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWFree':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:173:37: warning: unused parameter 'hwInstData' [-Wunused-parameter]

void EAS_HWFree (EAS_HW_DATA_HANDLE hwInstData, void *p)

^

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWReadFile':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:311:47: warning: unused parameter 'hwInstData' [-Wunused-parameter]

EAS_RESULT EAS_HWReadFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *pBuffer, EAS_I32 n, EAS_I32 *pBytesRead)

^

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWFilePos':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:429:46: warning: unused parameter 'hwInstData' [-Wunused-parameter]

EAS_RESULT EAS_HWFilePos (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 *pPosition)

^

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWFileSeek':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:449:47: warning: unused parameter 'hwInstData' [-Wunused-parameter]

EAS_RESULT EAS_HWFileSeek (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 position)

^

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWFileSeekOfs':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:474:50: warning: unused parameter 'hwInstData' [-Wunused-parameter]

EAS_RESULT EAS_HWFileSeekOfs (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 position)

^

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWFileLength':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:500:49: warning: unused parameter 'hwInstData' [-Wunused-parameter]

EAS_RESULT EAS_HWFileLength (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 *pLength)

^

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWVibrate':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:625:46: warning: unused parameter 'hwInstData' [-Wunused-parameter]

EAS_RESULT EAS_HWVibrate (EAS_HW_DATA_HANDLE hwInstData, EAS_BOOL state)

^

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWLED':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:640:42: warning: unused parameter 'hwInstData' [-Wunused-parameter]

EAS_RESULT EAS_HWLED (EAS_HW_DATA_HANDLE hwInstData, EAS_BOOL state)

^

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWBackLight':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:655:48: warning: unused parameter 'hwInstData' [-Wunused-parameter]

EAS_RESULT EAS_HWBackLight (EAS_HW_DATA_HANDLE hwInstData, EAS_BOOL state)

^

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c: In function 'EAS_HWYield':

external/sonivox/arm-wt-22k/host_src/eas_hostmm.c:684:42: warning: unused parameter 'hwInstData' [-Wunused-parameter]

EAS_BOOL EAS_HWYield (EAS_HW_DATA_HANDLE hwInstData)