Libtheora

SAHANA DEVARAJU <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.general
Message-ID <[email protected]>
Hi all,
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.

regards,
sahana

mathops.c
c:\users\vista business\desktop\sahana\
libtheora-1.1.1\lib\mathops.c(19) : error C2059: syntax error : 'bad suffix
on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(19) :
warning C4067: unexpected tokens following preprocessor directive - expected
a newline
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(95) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(95) :
warning C4067: unexpected tokens following preprocessor directive - expected
a newline
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) :
error C2061: syntax error : identifier 'L'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(147) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(147) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) :
error C2146: syntax error : missing ';' before identifier 'L'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) :
error C2065: 'L' : undeclared identifier
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(177) :
error C2059: syntax error : 'bad suffix on number'
c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(177) :
error C2146: syntax error : missing ';' before identifier 'L'
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
rate.c
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) :
error C2146: syntax error : missing ')' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) :
error C2059: syntax error : ')'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) :
error C2146: syntax error : missing ';' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) :
error C2065: 'L' : undeclared identifier
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) :
error C2146: syntax error : missing ';' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(215) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(215) :
error C2146: syntax error : missing ';' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) :
error C2146: syntax error : missing ')' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) :
error C2059: syntax error : ')'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) :
error C2143: syntax error : missing ';' before '{'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(256) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(256) :
error C2146: syntax error : missing ';' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(258) :
error C2181: illegal else without matching if
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(267) :
warning C4018: '<' : signed/unsigned mismatch
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) :
error C2146: syntax error : missing ')' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) :
error C2059: syntax error : ')'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) :
error C2143: syntax error : missing ';' before '{'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(358) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(358) :
error C2146: syntax error : missing ';' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(360) :
error C2181: illegal else without matching if
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(364) :
warning C4018: '<' : signed/unsigned mismatch
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(384) :
warning C4018: '<' : signed/unsigned mismatch
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
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
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(488) :
warning C4018: '<' : signed/unsigned mismatch
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
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(592) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(592) :
error C2146: syntax error : missing ';' before identifier 'L'
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
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(631) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(631) :
error C2146: syntax error : missing ';' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(632) :
error C2143: syntax error : missing ';' before 'type'
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
        c:\users\vista
business\desktop\sahana\libogg-1.1.4rc1\include\ogg\os_types.h(53) : see
declaration of 'ogg_int64_t'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) :
error C2146: syntax error : missing ';' before identifier 'rlo'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) :
error C2065: 'rlo' : undeclared identifier
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
        c:\users\vista
business\desktop\sahana\libogg-1.1.4rc1\include\ogg\os_types.h(53) : see
declaration of 'ogg_int64_t'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) :
error C2146: syntax error : missing ';' before identifier 'rhi'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) :
error C2065: 'rhi' : undeclared identifier
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(635) :
error C2065: 'log_scale1' : undeclared identifier
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
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
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
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
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(693) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(693) :
error C2146: syntax error : missing ';' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(694) :
error C2059: syntax error : 'bad suffix on number'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(694) :
error C2146: syntax error : missing ';' before identifier 'L'
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(929) :
warning C4018: '<' : signed/unsigned mismatch
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
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
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1076) :
warning C4018: '<' : signed/unsigned mismatch
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1076) :
warning C4018: '<' : signed/unsigned mismatch
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
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
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1111) :
warning C4018: '<' : signed/unsigned mismatch
C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1111) :
warning C4018: '<' : signed/unsigned mismatch
Error executing cl.exe.

libtheora.exe - 80 error(s), 43 warning(s)

_______________________________________________
theora mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/theora
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.