diff --git a/decoder/include/common/ocsd_dcd_mngr.h b/decoder/include/common/ocsd_dcd_mngr.h index 34c4ef1dc1c4..adf54f23689c 100644 --- a/decoder/include/common/ocsd_dcd_mngr.h +++ b/decoder/include/common/ocsd_dcd_mngr.h @@ -35,6 +35,8 @@ #ifndef ARM_OCSD_DCD_MNGR_H_INCLUDED #define ARM_OCSD_DCD_MNGR_H_INCLUDED +#include + #include "opencsd/ocsd_if_types.h" #include "common/ocsd_dcd_mngr_i.h" #include "common/ocsd_lib_dcd_register.h" diff --git a/decoder/include/common/ocsd_lib_dcd_register.h b/decoder/include/common/ocsd_lib_dcd_register.h index 6ba4cf82240a..68d8e649dfe8 100644 --- a/decoder/include/common/ocsd_lib_dcd_register.h +++ b/decoder/include/common/ocsd_lib_dcd_register.h @@ -37,6 +37,7 @@ */ #include +#include #include "opencsd/ocsd_if_types.h" #include "common/ocsd_dcd_mngr_i.h" diff --git a/decoder/include/common/trc_pkt_decode_base.h b/decoder/include/common/trc_pkt_decode_base.h index 24ea2b05a6f9..d0583063aa65 100644 --- a/decoder/include/common/trc_pkt_decode_base.h +++ b/decoder/include/common/trc_pkt_decode_base.h @@ -35,6 +35,8 @@ #ifndef ARM_TRC_PKT_DECODE_BASE_H_INCLUDED #define ARM_TRC_PKT_DECODE_BASE_H_INCLUDED +#include + #include "trc_component.h" #include "comp_attach_pt_t.h" diff --git a/decoder/include/common/trc_pkt_proc_base.h b/decoder/include/common/trc_pkt_proc_base.h index 8ed7d83b2d5a..f1b96178f3b0 100644 --- a/decoder/include/common/trc_pkt_proc_base.h +++ b/decoder/include/common/trc_pkt_proc_base.h @@ -36,6 +36,8 @@ #ifndef ARM_TRC_PKT_PROC_BASE_H_INCLUDED #define ARM_TRC_PKT_PROC_BASE_H_INCLUDED +#include + #include "interfaces/trc_data_raw_in_i.h" #include "interfaces/trc_pkt_in_i.h" #include "interfaces/trc_pkt_raw_in_i.h" diff --git a/decoder/source/c_api/ocsd_c_api.cpp b/decoder/source/c_api/ocsd_c_api.cpp index 461c5d658b6e..1c478acd2e39 100644 --- a/decoder/source/c_api/ocsd_c_api.cpp +++ b/decoder/source/c_api/ocsd_c_api.cpp @@ -33,6 +33,7 @@ */ #include +#include /* pull in the C++ decode library */ #include "opencsd.h" @@ -44,7 +45,6 @@ /** MSVC2010 unwanted export workaround */ #ifdef WIN32 #if (_MSC_VER == 1600) -#include namespace std { const nothrow_t nothrow = nothrow_t(); } #endif #endif diff --git a/decoder/source/c_api/ocsd_c_api_custom_obj.cpp b/decoder/source/c_api/ocsd_c_api_custom_obj.cpp index dbd0bd107698..46a2d3dca291 100644 --- a/decoder/source/c_api/ocsd_c_api_custom_obj.cpp +++ b/decoder/source/c_api/ocsd_c_api_custom_obj.cpp @@ -33,6 +33,7 @@ */ /* pull in the C++ decode library */ +#include #include "opencsd.h" #include "opencsd/c_api/opencsd_c_api.h" diff --git a/decoder/source/etmv3/trc_pkt_proc_etmv3.cpp b/decoder/source/etmv3/trc_pkt_proc_etmv3.cpp index 7871619fe55f..3ce31db85652 100644 --- a/decoder/source/etmv3/trc_pkt_proc_etmv3.cpp +++ b/decoder/source/etmv3/trc_pkt_proc_etmv3.cpp @@ -33,6 +33,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include "opencsd/etmv3/trc_pkt_proc_etmv3.h" #include "trc_pkt_proc_etmv3_impl.h" #include "common/ocsd_error.h" diff --git a/decoder/source/etmv4/trc_etmv4_stack_elem.cpp b/decoder/source/etmv4/trc_etmv4_stack_elem.cpp index 88284c2cd6e8..24b3f84decc7 100644 --- a/decoder/source/etmv4/trc_etmv4_stack_elem.cpp +++ b/decoder/source/etmv4/trc_etmv4_stack_elem.cpp @@ -33,6 +33,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include "opencsd/etmv4/trc_etmv4_stack_elem.h" /* implementation of P0 element stack in ETM v4 trace*/ diff --git a/decoder/source/mem_acc/trc_mem_acc_base.cpp b/decoder/source/mem_acc/trc_mem_acc_base.cpp index be45b66df89a..6b12a9189dd7 100644 --- a/decoder/source/mem_acc/trc_mem_acc_base.cpp +++ b/decoder/source/mem_acc/trc_mem_acc_base.cpp @@ -40,6 +40,7 @@ #include #include +#include /** Accessor Creation */ ocsd_err_t TrcMemAccFactory::CreateBufferAccessor(TrcMemAccessorBase **pAccessor, const ocsd_vaddr_t s_address, const uint8_t *p_buffer, const uint32_t size) diff --git a/decoder/source/mem_acc/trc_mem_acc_cache.cpp b/decoder/source/mem_acc/trc_mem_acc_cache.cpp index b6383044bacf..e625cc3f39ae 100644 --- a/decoder/source/mem_acc/trc_mem_acc_cache.cpp +++ b/decoder/source/mem_acc/trc_mem_acc_cache.cpp @@ -35,6 +35,7 @@ #include #include #include +#include #include "mem_acc/trc_mem_acc_cache.h" #include "mem_acc/trc_mem_acc_base.h" #include "interfaces/trc_error_log_i.h" diff --git a/decoder/source/mem_acc/trc_mem_acc_file.cpp b/decoder/source/mem_acc/trc_mem_acc_file.cpp index 25b718ea589c..d1c81a667b4b 100644 --- a/decoder/source/mem_acc/trc_mem_acc_file.cpp +++ b/decoder/source/mem_acc/trc_mem_acc_file.cpp @@ -35,6 +35,7 @@ #include #include +#include /***************************************************/ /* protected construction and reference counting */ diff --git a/decoder/source/ocsd_dcd_tree.cpp b/decoder/source/ocsd_dcd_tree.cpp index 0e2163e2a8b6..a26ef8b66b75 100644 --- a/decoder/source/ocsd_dcd_tree.cpp +++ b/decoder/source/ocsd_dcd_tree.cpp @@ -33,6 +33,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include "common/ocsd_dcd_tree.h" #include "common/ocsd_lib_dcd_register.h" #include "mem_acc/trc_mem_acc_mapper.h" diff --git a/decoder/source/ocsd_error_logger.cpp b/decoder/source/ocsd_error_logger.cpp index 42794a784311..6f2f5b5c58f3 100644 --- a/decoder/source/ocsd_error_logger.cpp +++ b/decoder/source/ocsd_error_logger.cpp @@ -37,6 +37,7 @@ //#include #include +#include ocsdDefaultErrorLogger::ocsdDefaultErrorLogger() : m_Verbosity(OCSD_ERR_SEV_ERROR), diff --git a/decoder/source/ocsd_gen_elem_list.cpp b/decoder/source/ocsd_gen_elem_list.cpp index 1a568ec34775..27c9e2b876cc 100644 --- a/decoder/source/ocsd_gen_elem_list.cpp +++ b/decoder/source/ocsd_gen_elem_list.cpp @@ -33,6 +33,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include "common/ocsd_gen_elem_list.h" OcsdGenElemList::OcsdGenElemList() diff --git a/decoder/source/ocsd_gen_elem_stack.cpp b/decoder/source/ocsd_gen_elem_stack.cpp index 66fe75d9899a..fb11bf8a2075 100644 --- a/decoder/source/ocsd_gen_elem_stack.cpp +++ b/decoder/source/ocsd_gen_elem_stack.cpp @@ -33,6 +33,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include "common/ocsd_gen_elem_stack.h" OcsdGenElemStack::OcsdGenElemStack() : diff --git a/decoder/source/ocsd_lib_dcd_register.cpp b/decoder/source/ocsd_lib_dcd_register.cpp index 52bd62cf7dcb..a7f9d130f5d1 100644 --- a/decoder/source/ocsd_lib_dcd_register.cpp +++ b/decoder/source/ocsd_lib_dcd_register.cpp @@ -32,6 +32,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include "common/ocsd_lib_dcd_register.h" // include built-in decode manager headers diff --git a/decoder/source/pkt_printers/trc_print_fact.cpp b/decoder/source/pkt_printers/trc_print_fact.cpp index 6b55f5ba9f50..c9158ea400a5 100644 --- a/decoder/source/pkt_printers/trc_print_fact.cpp +++ b/decoder/source/pkt_printers/trc_print_fact.cpp @@ -33,6 +33,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include "pkt_printers/trc_print_fact.h" RawFramePrinter * PktPrinterFact::createRawFramePrinter(std::vector &printer_list, ocsdMsgLogger *pMsgLogger /*= 0*/) diff --git a/decoder/source/stm/trc_pkt_decode_stm.cpp b/decoder/source/stm/trc_pkt_decode_stm.cpp index 1a99869e4802..b9b0ec1bb631 100644 --- a/decoder/source/stm/trc_pkt_decode_stm.cpp +++ b/decoder/source/stm/trc_pkt_decode_stm.cpp @@ -32,6 +32,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include "opencsd/stm/trc_pkt_decode_stm.h" #define DCD_NAME "DCD_STM" diff --git a/decoder/source/trc_component.cpp b/decoder/source/trc_component.cpp index dae92d4213de..8927aba04067 100644 --- a/decoder/source/trc_component.cpp +++ b/decoder/source/trc_component.cpp @@ -32,6 +32,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include "common/trc_component.h" class errLogAttachMonitor : public IComponentAttachNotifier diff --git a/decoder/source/trc_frame_deformatter.cpp b/decoder/source/trc_frame_deformatter.cpp index 3b2aead875ca..0d50ad4a6d35 100644 --- a/decoder/source/trc_frame_deformatter.cpp +++ b/decoder/source/trc_frame_deformatter.cpp @@ -32,6 +32,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include +#include #include "common/trc_frame_deformatter.h" #include "trc_frame_deformatter_impl.h" diff --git a/decoder/tests/source/mem_buff_demo.cpp b/decoder/tests/source/mem_buff_demo.cpp index f10f662173ca..3c223124a833 100644 --- a/decoder/tests/source/mem_buff_demo.cpp +++ b/decoder/tests/source/mem_buff_demo.cpp @@ -43,6 +43,7 @@ #include #include #include +#include #include "opencsd.h" // the library