workaround for error building with clang and quiet some warnings building without libmv.
This commit is contained in:
@@ -94,7 +94,9 @@ typedef unsigned long uintptr_t;
|
||||
#include <stdint.h>
|
||||
|
||||
/* XXX */
|
||||
#ifndef uint64_t
|
||||
|
||||
#ifndef UINT64_MAX
|
||||
# define UINT64_MAX 18446744073709551615
|
||||
typedef uint8_t u_int8_t;
|
||||
typedef uint16_t u_int16_t;
|
||||
typedef uint32_t u_int32_t;
|
||||
|
@@ -1682,7 +1682,8 @@ int BKE_tracking_can_reconstruct(MovieTracking *tracking, MovieTrackingObject *o
|
||||
return 1;
|
||||
#else
|
||||
BLI_strncpy(error_msg, "Blender is compiled without motion tracking library", error_size);
|
||||
(void) tracking;
|
||||
(void)tracking;
|
||||
(void)object;
|
||||
|
||||
return 0;
|
||||
#endif
|
||||
@@ -2274,6 +2275,7 @@ void BKE_tracking_detect_fast(MovieTracking *tracking, ListBase *tracksbase, ImB
|
||||
libmv_destroyFeatures(features);
|
||||
#else
|
||||
(void)tracking;
|
||||
(void)tracksbase;
|
||||
(void)ibuf;
|
||||
(void)framenr;
|
||||
(void)margin;
|
||||
|
@@ -87,7 +87,8 @@ typedef unsigned long uintptr_t;
|
||||
#include <stdint.h>
|
||||
|
||||
/* XXX */
|
||||
#ifndef uint64_t
|
||||
#ifndef UINT64_MAX
|
||||
# define UINT64_MAX 18446744073709551615
|
||||
typedef uint8_t u_int8_t;
|
||||
typedef uint16_t u_int16_t;
|
||||
typedef uint32_t u_int32_t;
|
||||
|
Reference in New Issue
Block a user