eliminate build warnings

pull/13386/head
Alexander Alekhin 6 years ago
parent 2b35c1708b
commit cbf80117af
  1. 2
      3rdparty/carotene/hal/CMakeLists.txt
  2. 1
      3rdparty/cpufeatures/cpu-features.h

@ -12,6 +12,8 @@ elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64.*|AARCH64.*")
set(AARCH64 TRUE) set(AARCH64 TRUE)
endif() endif()
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wunused-function)
set(TEGRA_COMPILER_FLAGS "") set(TEGRA_COMPILER_FLAGS "")
if(CV_GCC OR CV_CLANG) if(CV_GCC OR CV_CLANG)

@ -30,6 +30,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <stdint.h> #include <stdint.h>
#include <string.h>
__BEGIN_DECLS __BEGIN_DECLS

Loading…
Cancel
Save