eliminate build warnings

This commit is contained in:
Alexander Alekhin 2018-12-19 15:42:38 +03:00
parent 2b35c1708b
commit cbf80117af
2 changed files with 3 additions and 0 deletions

View File

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

View File

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