From c013bc85f45add8c4bc8c7163316bbb90b37a15e Mon Sep 17 00:00:00 2001 From: Rob Hughes Date: Wed, 14 Jul 2021 09:31:31 +0100 Subject: Fix some compile warnings & errors * Fix type of literals * Add explicit casts * #include missing headers * Replace use of non-standard u_int8_t * Remove name of unused variables * Fix DLL export macro - this was broken when some of the exporting headers were moved to a different library. Change-Id: Ie569c8df41a077b46c608798f39526352e2aeb3a Signed-off-by: Rob Hughes --- profiling/common/src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'profiling/common/src') diff --git a/profiling/common/src/CMakeLists.txt b/profiling/common/src/CMakeLists.txt index 6979275c49..b4dc59f53d 100644 --- a/profiling/common/src/CMakeLists.txt +++ b/profiling/common/src/CMakeLists.txt @@ -28,6 +28,8 @@ if(BUILD_TIMELINE_DECODER) # to simplify the build. No extra .so file to deploy to boards etc. add_library_ex(pipeCommon STATIC ${pipeCommon_sources}) + target_compile_definitions(pipeCommon PRIVATE "ARMNN_COMPILING_DLL") + # install the target install( TARGETS pipeCommon -- cgit v1.2.1