Hi all,<br>I&#39;m Sahana and i&#39;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 : &#39;bad suffix on number&#39;<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 : &#39;bad suffix on number&#39;<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 : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2061: syntax error : identifier &#39;L&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(147) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(147) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) : error C2065: &#39;L&#39; : undeclared identifier<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(177) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(177) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(180) : warning C4554: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&lt;&lt;&#39; : 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: &#39;+=&#39; : conversion from &#39;__int64 &#39; to &#39;long &#39;, possible loss of data<br>c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(220) : warning C4244: &#39;+=&#39; : conversion from &#39;__int64 &#39; to &#39;long &#39;, possible loss of data<br>

c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(221) : warning C4554: &#39;&lt;&lt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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: &#39;&gt;&gt;&#39; : 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 : &#39;bad suffix on number&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) : error C2146: syntax error : missing &#39;)&#39; before identifier &#39;L&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) : error C2059: syntax error : &#39;)&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2065: &#39;L&#39; : undeclared identifier<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(215) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(215) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2146: syntax error : missing &#39;)&#39; before identifier &#39;L&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2059: syntax error : &#39;)&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2143: syntax error : missing &#39;;&#39; before &#39;{&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(256) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(256) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<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: &#39;&lt;&#39; : signed/unsigned mismatch<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2146: syntax error : missing &#39;)&#39; before identifier &#39;L&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2059: syntax error : &#39;)&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2143: syntax error : missing &#39;;&#39; before &#39;{&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(358) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(358) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<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: &#39;&lt;&#39; : signed/unsigned mismatch<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(384) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(424) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;int &#39;, possible loss of data<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(487) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;unsigned __int32 &#39;, possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(488) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(526) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;int &#39;, possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(592) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(592) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(595) : warning C4244: &#39;function&#39; : conversion from &#39;__int64 &#39; to &#39;__int32 &#39;, possible loss of data<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(631) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(631) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(632) : error C2143: syntax error : missing &#39;;&#39; before &#39;type&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) : error C2275: &#39;ogg_int64_t&#39; : 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 &#39;ogg_int64_t&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;rlo&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) : error C2065: &#39;rlo&#39; : undeclared identifier<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) : error C2275: &#39;ogg_int64_t&#39; : 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 &#39;ogg_int64_t&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;rhi&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) : error C2065: &#39;rhi&#39; : undeclared identifier<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(635) : error C2065: &#39;log_scale1&#39; : undeclared identifier<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(635) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;int &#39;, possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(637) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;int &#39;, possible loss of data<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(651) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;int &#39;, possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(652) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;int &#39;, possible loss of data<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(693) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(693) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(694) : error C2059: syntax error : &#39;bad suffix on number&#39;<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(694) : error C2146: syntax error : missing &#39;;&#39; before identifier &#39;L&#39;<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(929) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1056) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;unsigned __int32 &#39;, possible loss of data<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1057) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;__int32 &#39;, possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1076) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1076) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1091) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;unsigned __int32 &#39;, possible loss of data<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1092) : warning C4244: &#39;=&#39; : conversion from &#39;__int64 &#39; to &#39;__int32 &#39;, possible loss of data<br>C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1111) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>

C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1111) : warning C4018: &#39;&lt;&#39; : signed/unsigned mismatch<br>Error executing cl.exe.<br><br>libtheora.exe - 80 error(s), 43 warning(s)</div>