The most recent main.c in CVS does not compile correctly for me with
MSVC 5. Worked fine last night, not now.

main.c
main.c(48) : error C2065: 'sample_t' : undeclared identifier
main.c(48) : error C2146: syntax error : missing ';' before identifier
'Buffer'
main.c(48) : error C2065: 'Buffer' : undeclared identifier
main.c(48) : error C2109: subscript requires array or pointer type
main.c(48) : error C2109: subscript requires array or pointer type
main.c(49) : error C2143: syntax error : missing ';' before 'type'
main.c(50) : error C2275: 'lame_global_flags' : illegal use of this type
as an expression
main.c(50) : error C2146: syntax error : missing ';' before identifier
'gf'
main.c(50) : error C2065: 'gf' : undeclared identifier
main.c(51) : error C2275: 'FILE' : illegal use of this type as an
expression
main.c(51) : error C2065: 'outf' : undeclared identifier
main.c(60) : error C2143: syntax error : missing ';' before 'type'
main.c(65) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(69) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(80) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(86) : error C2224: left of '.outPath' must have struct/union type
main.c(86) : error C2168: 'strcmp' : too few actual parameters for
intrinsic function
main.c(87) : error C2224: left of '.inPath' must have struct/union type
main.c(87) : error C2224: left of '.outPath' must have struct/union type
main.c(87) : error C2168: 'strcmp' : too few actual parameters for
intrinsic function
main.c(99) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(104) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(109) : error C2224: left of '.decode_only' must have struct/union
type
main.c(110) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(113) : error C2224: left of '.gtkflag' must have struct/union
type
main.c(115) : error C2224: left of '.outPath' must have struct/union
type
main.c(115) : error C2168: 'strcmp' : too few actual parameters for
intrinsic function
main.c(125) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _iobuf *'
main.c(127) : error C2224: left of '.outPath' must have struct/union
type
main.c(127) : error C2198: 'fopen' : too few actual parameters
main.c(127) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _iobuf *'
main.c(127) : warning C4047: '==' : 'int ' differs in levels of
indirection from 'void *'
main.c(128) : error C2224: left of '.outPath' must have struct/union
type
main.c(148) : error C2224: left of '.gtkflag' must have struct/union
type
main.c(157) : error C2224: left of '.decode_only' must have struct/union
type
main.c(160) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(160) : warning C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
main.c(160) : warning C4024: 'lame_decoder' : different types for formal
and actual parameter 2
main.c(160) : error C2224: left of '.encoder_delay' must have
struct/union type
main.c(160) : error C2198: 'lame_decoder' : too few actual parameters
main.c(164) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(164) : warning C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
main.c(164) : warning C4024: 'lame_id3v2_tag' : different types for
formal and actual parameter 2
main.c(169) : error C2065: 'iread' : undeclared identifier
main.c(169) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(169) : warning C4047: 'function' : 'short (*)[1152]' differs in
levels of indirection from 'int '
main.c(169) : warning C4024: 'lame_readframe' : different types for
formal and actual parameter 2
main.c(173) : error C2065: 'imp3' : undeclared identifier
main.c(173) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(173) : error C2109: subscript requires array or pointer type
main.c(173) : warning C4047: 'function' : 'short *' differs in levels of
indirection from 'int '
main.c(173) : warning C4024: 'lame_encode_buffer' : different types for
formal and actual parameter 2
main.c(173) : error C2109: subscript requires array or pointer type
main.c(173) : warning C4047: 'function' : 'short *' differs in levels of
indirection from 'int '
main.c(173) : warning C4024: 'lame_encode_buffer' : different types for
formal and actual parameter 3
main.c(184) : warning C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
main.c(184) : warning C4024: 'fwrite' : different types for formal and
actual parameter 4
main.c(189) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(196) : warning C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
main.c(196) : warning C4024: 'fwrite' : different types for formal and
actual parameter 4
main.c(197) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'
main.c(197) : warning C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
main.c(197) : warning C4024: 'lame_mp3_tags_fid' : different types for
formal and actual parameter 2
main.c(198) : warning C4047: 'function' : 'struct _iobuf *' differs in
levels of indirection from 'int '
main.c(198) : warning C4024: 'fclose' : different types for formal and
actual parameter 1
main.c(200) : warning C4133: 'function' : incompatible types - from 'int
*' to 'struct lame_global_flags *'

This is the output of cl.exe. Main.c is the only file that gives me
problems.

Josh
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to