Commit cbf80117 authored by Alexander Alekhin's avatar Alexander Alekhin

eliminate build warnings

parent 2b35c170
...@@ -12,6 +12,8 @@ elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64.*|AARCH64.*") ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment