ref: a1168155a748c752b8b19cb539013d8f3cee2fd5
parent: 73089031f052228e60233c15c94df822b0c84556
author: Christian Duvivier <cduvivier@google.com>
date: Tue Aug 14 10:12:00 EDT 2012
Fix warnings. Change-Id: I4b911e4173da30c164bde7ea50bc80a70fbbb745
--- a/configure
+++ b/configure
@@ -226,6 +226,7 @@
switchable_interp
tx16x16
newbestrefmv
+ rotation
"
CONFIG_LIST="
external_build
--- a/examples/decoder_tmpl.c
+++ b/examples/decoder_tmpl.c
@@ -12,6 +12,7 @@
/*
@*INTRODUCTION
*/
+#include "vpx_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
--- a/vp8/common/predict_rotated.c
+++ b/vp8/common/predict_rotated.c
@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include "vpx_config.h"
+
#if CONFIG_ROTATION
typedef struct {
int y;
--- a/vp8/common/treecoder.c
+++ b/vp8/common/treecoder.c
@@ -11,7 +11,7 @@
#include "vpx_config.h"
-#if CONFIG_DEBUG
+#if defined(CONFIG_DEBUG) && CONFIG_DEBUG
#include <assert.h>
#endif
#include <stdio.h>
--- a/vpx_mem/vpx_mem.h
+++ b/vpx_mem/vpx_mem.h
@@ -12,6 +12,7 @@
#ifndef __VPX_MEM_H__
#define __VPX_MEM_H__
+#include "vpx_config.h"
#if defined(__uClinux__)
# include <lddk.h>
#endif
--- a/vpx_ports/asm_offsets.h
+++ b/vpx_ports/asm_offsets.h
@@ -18,7 +18,7 @@
static void assert_##name(void) UNUSED;\
static void assert_##name(void) {switch(0){case 0:case !!(cond):;}}
-#if INLINE_ASM
+#if defined(INLINE_ASM) && INLINE_ASM
#define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val));
#define BEGIN int main(void) {
#define END return 0; }
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include "vpx_config.h"
/* This is a simple program that encodes YV12 files and generates ivf
* files using the new interface.
--
⑨