[theora-thusnelda]Can't compile under vs2008 caused by many syntax error
*I checked out 15675 and try to compile with MS vs2005/vs2008,but get syntax error(vs2008 doesn't support C99),the errors as following,
...
..\..\..\lib\enc\mode.c(776) : error C2059: syntax error : “{”
..\..\..\lib\enc\mode.c(810) : error C2059: syntax error : “{”
..\..\..\lib\enc\mode.c(858) : warning C4018: “<”: signed/unsigned mismatch
..\..\..\lib\enc\mode.c(947) : warning C4018: “>=”: signed/unsigned mismatch
..\..\..\lib\enc\mode.c(949) : error C2143: syntax error : syntax error : missing ',' before type
..\..\..\lib\enc\mode.c(950) : error C2143: syntax error : syntax error : missing ',' before type
..\..\..\lib\enc\mode.c(951) : error C2143: syntax error : syntax error : missing ',' before type
..\..\..\lib\enc\mode.c(952) : error C2143: syntax error : syntax error : missing ',' before type
..\..\..\lib\enc\mode.c(953) : error C2143: syntax error : syntax error : missing ',' before type
..\..\..\lib\enc\mode.c(954) : error C2143: syntax error : syntax error : missing ',' before type
..\..\..\lib\enc\mode.c(955) : error C2143: syntax error : syntax error : missing ',' before type
..\..\..\lib\enc\mode.c(956) : error C2143: syntax error : syntax error : missing ',' before type
..\..\..\lib\enc\mode.c(957) : error C2143: syntax error : syntax error : missing ',' before type
..\..\..\lib\enc\mode.c(958) : error C2143: syntax error : syntax error : missing ',' before type
..\..\..\lib\enc\mode.c(960) : error C2275: “macroblock_t”: illegal use of this type as an expression
d:\devloper\c++\source\vcvc8\libtheora\lib\enc\codec_internal.h(149) : reference define of “macroblock_t”
..\..\..\lib\enc\mode.c(960) : error C2065: “mb”: undeclared identifier
..\..\..\lib\enc\mode.c(966) : error C2065: “mb”: undeclared identifier
..\..\..\lib\enc\mode.c(966) : error C2223: “->analysis_mv” must point to struct/union
..\..\..\lib\enc\mode.c(966) : error C2065: “mb”: undeclared identifier
..\..\..\lib\enc\mode.c(966) : error C2223: “->analysis_mv”must point to struct/union
..\..\..\lib\enc\mode.c(966) : error C2065: “mb”: undeclared identifier
..\..\..\lib\enc\mode.c(966) : error C2223: “->analysis_mv”must point to struct/union
..\..\..\lib\enc\mode.c(966) : error C2198: “memmove”: too few arguments for call
..\..\..\lib\enc\mode.c(969) : error C2065: “mb”: undeclared identifier
..\..\..\lib\enc\mode.c(969) : error C2223: “->mv”must point to struct/union
..\..\..\lib\enc\mode.c(969) : error C2065: “aerror”: undeclared identifier
..\..\..\lib\enc\mode.c(969) : warning C4133: “function”: incompatible types “int *” to “mv_t *”
..\..\..\lib\enc\mode.c(969) : error C2065: “block_err”: undeclared identifier
..\..\..\lib\enc\mode.c(969) : error C2198: “oc_mcenc_search”: too few arguments for call
..\..\..\lib\enc\mode.c(972) : error C2065: “gerror”: undeclared identifier
..\..\..\lib\enc\mode.c(975) : error C2065: “aerror”: undeclared identifier
..\..\..\lib\enc\mode.c(975) : error C2065: “mb”: undeclared identifier
..\..\..\lib\enc\mode.c(975) : error C2223: “->aerror”must point to struct/union
..\..\..\lib\enc\mode.c(976) : error C2065: “gerror”: undeclared identifier
..\..\..\lib\enc\mode.c(976) : error C2065: “mb”: undeclared identifier
..\..\..\lib\enc\mode.c(976) : error C2223: “->gerror”must point to struct/union
..\..\..\lib\enc\mode.c(980) : error C2065: “mb”: undeclared identifier
..\..\..\lib\enc\mode.c(980) : error C2223: “->mode”must point to struct/union
..\..\..\lib\enc\mode.c(982) : error C2065: “mb”: undeclared identifier
..\..\..\lib\enc\mode.c(997) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(997) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(998) : error C2065: “overhead”: undeclared identifier
..\..\..\lib\enc\mode.c(998) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(998) : error C2198: “cost_inter_nomv”: too few arguments for call
..\..\..\lib\enc\mode.c(999) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(999) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1000) : error C2065: “overhead”: undeclared identifier
..\..\..\lib\enc\mode.c(1000) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1000) : error C2198: “cost_intra”: too few arguments for call
..\..\..\lib\enc\mode.c(1001) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1001) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1002) : error C2065: “mb_mv_bits_0”: undeclared identifier
..\..\..\lib\enc\mode.c(1002) : error C2065: “overhead”: undeclared identifier
..\..\..\lib\enc\mode.c(1002) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1002) : error C2198: “cost_inter1mv”: too few arguments for call
..\..\..\lib\enc\mode.c(1003) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1003) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1004) : error C2065: “overhead”: undeclared identifier
..\..\..\lib\enc\mode.c(1004) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1004) : error C2198: “cost_inter”: too few arguments for call
..\..\..\lib\enc\mode.c(1005) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1005) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1006) : error C2065: “overhead”: undeclared identifier
..\..\..\lib\enc\mode.c(1006) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1006) : error C2198: “cost_inter”: too few arguments for call
..\..\..\lib\enc\mode.c(1007) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1007) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1008) : error C2059: syntax error : “{”
..\..\..\lib\enc\mode.c(1009) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1009) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1010) : error C2065: “mb_gmv_bits_0”: undeclared identifier
..\..\..\lib\enc\mode.c(1010) : error C2065: “overhead”: undeclared identifier
..\..\..\lib\enc\mode.c(1010) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1010) : error C2198: “cost_inter1mv”: too few arguments for call
..\..\..\lib\enc\mode.c(1011) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1011) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1012) : error C2065: “mb_4mv_bits_0”: undeclared identifier
..\..\..\lib\enc\mode.c(1012) : error C2065: “mb_4mv_bits_1”: undeclared identifier
..\..\..\lib\enc\mode.c(1012) : error C2065: “overhead”: undeclared identifier
..\..\..\lib\enc\mode.c(1012) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1012) : error C2198: “cost_inter4mv”: too few arguments for call
..\..\..\lib\enc\mode.c(1018) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1018) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1018) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1018) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1018) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1018) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1018) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1018) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1019) : error C2065: “block_err”: undeclared identifier
..\..\..\lib\enc\mode.c(1020) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1020) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1021) : error C2065: “mb_4mv_bits_0”: undeclared identifier
..\..\..\lib\enc\mode.c(1021) : error C2065: “mb_4mv_bits_1”: undeclared identifier
..\..\..\lib\enc\mode.c(1021) : error C2065: “overhead”: undeclared identifier
..\..\..\lib\enc\mode.c(1021) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1021) : error C2198: “cost_inter4mv”: too few arguments for call
..\..\..\lib\enc\mode.c(1022) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1022) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1022) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1022) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1023) : error C2065: “gerror”: undeclared identifier
..\..\..\lib\enc\mode.c(1024) : error C2065: “cost”: undeclared identifier
..\..\..\lib\enc\mode.c(1024) : error C2109: subscript requires array or pointer type
..\..\..\lib\enc\mode.c(1024) : fatal error C1003: error count exceeds 100; stopping compilation
...