Hi all,<br>I'm Sahana and i'm currently working on Libtheora for windows platform and very new to it.Compiler is vc++6. I have compiling errors popping up in the mathops.c and rate.c files. The
errors are related to bad suffix on number. I appreciate all your help.<br>
<br>regards,<br>sahana<br><br>mathops.c<br>c:\users\vista business\desktop\sahana\<div id=":ug" class="ii gt">libtheora-1.1.1\lib\mathops.c(19) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(19) : warning C4067: unexpected tokens following preprocessor directive - expected a newline<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(95) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(95) : warning C4067: unexpected tokens following preprocessor directive - expected a newline<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2061: syntax error : identifier 'L'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(147) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(147) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) : error C2059: syntax error : 'bad suffix on number'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) : error C2146: syntax error : missing ';' before identifier 'L'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) : error C2065: 'L' : undeclared identifier<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(177) : error C2059: syntax error : 'bad suffix on number'<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(177) : error C2146: syntax error : missing ';' before identifier 'L'<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(180) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(188) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(196) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(197) : warning C4554: '<<' : check operator precedence for possible error; use parentheses to clarify precedence<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(212) : warning C4244: '+=' : conversion from '__int64 ' to 'long ', possible loss of data<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(220) : warning C4244: '+=' : conversion from '__int64 ' to 'long ', possible loss of data<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(221) : warning C4554: '<<' : check operator precedence for possible error; use parentheses to clarify precedence<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(227) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(227) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(257) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(258) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(265) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(266) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(273) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(274) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(281) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(282) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(289) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(290) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(293) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence<br>
rate.c<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) : error C2059: syntax error : 'bad suffix on number'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) : error C2146: syntax error : missing ')' before identifier 'L'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) : error C2059: syntax error : ')'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2059: syntax error : 'bad suffix on number'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2146: syntax error : missing ';' before identifier 'L'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2065: 'L' : undeclared identifier<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2059: syntax error : 'bad suffix on number'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2146: syntax error : missing ';' before identifier 'L'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(215) : error C2059: syntax error : 'bad suffix on number'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(215) : error C2146: syntax error : missing ';' before identifier 'L'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2059: syntax error : 'bad suffix on number'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2146: syntax error : missing ')' before identifier 'L'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2059: syntax error : ')'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2143: syntax error : missing ';' before '{'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(256) : error C2059: syntax error : 'bad suffix on number'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(256) : error C2146: syntax error : missing ';' before identifier 'L'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(258) : error C2181: illegal else without matching if<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(267) : warning C4018: '<' : signed/unsigned mismatch<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2059: syntax error : 'bad suffix on number'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2146: syntax error : missing ')' before identifier 'L'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2059: syntax error : ')'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2143: syntax error : missing ';' before '{'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(358) : error C2059: syntax error : 'bad suffix on number'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(358) : error C2146: syntax error : missing ';' before identifier 'L'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(360) : error C2181: illegal else without matching if<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(364) : warning C4018: '<' : signed/unsigned mismatch<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(384) : warning C4018: '<' : signed/unsigned mismatch<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(424) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(487) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned __int32 ', possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(488) : warning C4018: '<' : signed/unsigned mismatch<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(526) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(592) : error C2059: syntax error : 'bad suffix on number'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(592) : error C2146: syntax error : missing ';' before identifier 'L'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(595) : warning C4244: 'function' : conversion from '__int64 ' to '__int32 ', possible loss of data<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(631) : error C2059: syntax error : 'bad suffix on number'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(631) : error C2146: syntax error : missing ';' before identifier 'L'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(632) : error C2143: syntax error : missing ';' before 'type'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) : error C2275: 'ogg_int64_t' : illegal use of this type as an expression<br>
c:\users\vista business\desktop\sahana\libogg-1.1.4rc1\include\ogg\os_types.h(53) : see declaration of 'ogg_int64_t'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) : error C2146: syntax error : missing ';' before identifier 'rlo'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) : error C2065: 'rlo' : undeclared identifier<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) : error C2275: 'ogg_int64_t' : illegal use of this type as an expression<br>
c:\users\vista business\desktop\sahana\libogg-1.1.4rc1\include\ogg\os_types.h(53) : see declaration of 'ogg_int64_t'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) : error C2146: syntax error : missing ';' before identifier 'rhi'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) : error C2065: 'rhi' : undeclared identifier<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(635) : error C2065: 'log_scale1' : undeclared identifier<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(635) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(637) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(651) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(652) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(693) : error C2059: syntax error : 'bad suffix on number'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(693) : error C2146: syntax error : missing ';' before identifier 'L'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(694) : error C2059: syntax error : 'bad suffix on number'<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(694) : error C2146: syntax error : missing ';' before identifier 'L'<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(929) : warning C4018: '<' : signed/unsigned mismatch<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1056) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned __int32 ', possible loss of data<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1057) : warning C4244: '=' : conversion from '__int64 ' to '__int32 ', possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1076) : warning C4018: '<' : signed/unsigned mismatch<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1076) : warning C4018: '<' : signed/unsigned mismatch<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1091) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned __int32 ', possible loss of data<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1092) : warning C4244: '=' : conversion from '__int64 ' to '__int32 ', possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1111) : warning C4018: '<' : signed/unsigned mismatch<br>
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1111) : warning C4018: '<' : signed/unsigned mismatch<br>Error executing cl.exe.<br><br>libtheora.exe - 80 error(s), 43 warning(s)</div>