[Android Q&A, Help & Troubleshooting] awidawad:
I'm compiling for HTC One SV. I've seen many errors and have solved them before. This one has me stumped. Here it is:

hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7127:38: error: 'struct vdec_output_frameinfo' has no member named 'metadata_len'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7128:38: error: 'struct vdec_output_frameinfo' has no member named 'metadata_offset'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7144:102: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7145:81: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7174:25: error: 'struct vdec_output_frameinfo' has no member named 'metadata_len'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7174:71: error: 'struct vdec_output_frameinfo' has no member named 'metadata_len'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7175:25: error: 'struct vdec_output_frameinfo' has no member named 'metadata_offset'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7175:74: error: 'struct vdec_output_frameinfo' has no member named 'metadata_offset'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7186:44: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7190:52: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7202:55: warning: passing NULL to non-pointer argument 1 of 'bool omx_vdec::post_event(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7205:61: warning: passing NULL to non-pointer argument 1 of 'bool omx_vdec::post_event(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::empty_this_buffer_proxy_arbitrary(OMX_HANDLETYPE, OMX_BUFFERHEADERTYPE*)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7263:67: warning: passing NULL to non-pointer argument 2 of 'bool omx_vdec::omx_cmd_queue::insert_entry(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7263:67: warning: passing NULL to non-pointer argument 3 of 'bool omx_vdec::omx_cmd_queue::insert_entry(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::push_input_sc_codec(OMX_HANDLETYPE)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7399:69: warning: passing NULL to non-pointer argument 2 of 'bool omx_vdec::omx_cmd_queue::insert_entry(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7399:69: warning: passing NULL to non-pointer argument 3 of 'bool omx_vdec::omx_cmd_queue::insert_entry(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'int omx_vdec::alloc_map_ion_memory(OMX_U32, OMX_U32, ion_allocation_data*, ion_fd_data*, int)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:7828:6: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::get_buffer_req(vdec_allocatorproperty*)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8011:47: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::set_buffer_req(vdec_allocatorproperty*)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8082:47: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::allocate_output_headers()':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8342:7: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'OMX_BUFFERHEADERTYPE*' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8342:7: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'char*' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'void omx_vdec::set_frame_rate(OMX_S64)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8467:9: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'void omx_vdec::handle_extradata_secure(OMX_BUFFERHEADERTYPE*)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8527:35: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8532:19: error: 'struct vdec_output_frameinfo' has no member named 'metadata_info'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8533:19: error: 'struct vdec_output_frameinfo' has no member named 'metadata_info'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8534:37: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8547:11: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8547:11: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8550:71: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8566:15: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8615:69: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8649:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8652:65: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8669:48: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8678:48: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8694:48: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8703:49: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8700:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'void omx_vdec::handle_extradata(OMX_BUFFERHEADERTYPE*)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8730:5: warning: format '%d' expects argument of type 'int', but argument 6 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8737:25: error: 'struct vdec_output_frameinfo' has no member named 'metadata_offset'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8739:7: error: 'struct vdec_output_frameinfo' has no member named 'metadata_offset'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8750:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8750:9: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8780:13: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8858:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
target thumb C++: libqservice <= hardware/qcom/display-caf/libqservice/QService.cpp
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::enable_extradata(OMX_U32, bool)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8963:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8963:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:8977:43: error: 'VDEC_EXTRADATA_EXT_BUFFER' was not declared in this scope
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'void omx_vdec::print_debug_extradata(OMX_OTHER_EXTRADATATYPE*)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9051:3: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9051:3: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9051:3: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9051:3: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9061:23: warning: comparison between 'OMX_EXTRADATATYPE {aka enum OMX_EXTRADATATYPE}' and 'enum OMX_QCOM_EXTRADATATYPE' [-Wenum-compare]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9064:5: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9064:5: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9064:5: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9064:5: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9075:28: warning: comparison between 'OMX_EXTRADATATYPE {aka enum OMX_EXTRADATATYPE}' and 'enum OMX_QCOM_EXTRADATATYPE' [-Wenum-compare]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9079:5: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9079:5: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9079:5: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9079:5: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9079:5: warning: format '%u' expects argument of type 'unsigned int', but argument 10 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9096:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9098:7: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9098:7: warning: format '%d' expects argument of type 'int', but argument 6 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9098:7: warning: format '%d' expects argument of type 'int', but argument 7 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9098:7: warning: format '%d' expects argument of type 'int', but argument 8 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::handle_demux_data(OMX_BUFFERHEADERTYPE*)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9467:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::vdec_alloc_meta_buffers()':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9552:28: error: aggregate 'omx_vdec::vdec_alloc_meta_buffers()::vdec_meta_buffers meta_buffer' has incomplete type and cannot be defined
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9554:74: error: invalid application of 'sizeof' to incomplete type 'omx_vdec::vdec_alloc_meta_buffers()::vdec_meta_buffers'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9557:25: error: 'struct vdec_allocatorproperty' has no member named 'meta_buffer_size'
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9631:38: error: 'VDEC_IOCTL_SET_META_BUFFERS' was not declared in this scope
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'void omx_vdec::vdec_dealloc_meta_buffers()':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9652:41: error: 'VDEC_IOCTL_FREE_META_BUFFERS' was not declared in this scope
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'bool omx_vdec::allocate_color_convert_buf::set_color_format(OMX_COLOR_FORMATTYPE)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9920:5: warning: zero-length gnu_printf format string [-Wformat-zero-length]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::allocate_color_convert_buf::allocate_buffers_color_convert(OMX_HANDLETYPE, OMX_BUFFERHEADERTYPE**, OMX_U32, OMX_PTR, OMX_U32)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:10068:5: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'int omx_vdec::set_turbo_mode(bool)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:10205:43: error: 'VDEC_IOCTL_SET_PERF_CLK' was not declared in this scope
make: *** [/home/austin/cm-10.1/out/target/product/k2_cl/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec.o] Error 1
make: *** Waiting for unfinished jobs....
austin@awidawad-workstation-lite:~/cm-10.1$

If you look through it there are many errors all over. They all seem to be about omx_vdec.cpp. Any tips or fixes? Thanks in advance!