找回密码
 
查看: 192|回复: 1

[MFC] error C2146: syntax error : missing ';' before identifier 'FAR'

[复制链接]
1>------ Build started: Project: rsrecorder, Configuration: Debug Win32 ------
1>Compiling...
1>RsContainerAVI.cpp
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : error C2146: syntax error : missing ';' before identifier 'FAR'
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : error C2146: syntax error : missing ';' before identifier 'PASCAL'
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : error C2146: syntax error : missing ';' before identifier 'VideoForWindowsVersion'
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(75) : error C2146: syntax error : missing ';' before identifier 'WINAPI'
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(75) : error C2146: syntax error : missing ';' before identifier 'InitVFW'
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(76) : error C2146: syntax error : missing ';' before identifier 'WINAPI'
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(76) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(76) : error C2086: 'int LONG' : redefinition
1>        c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(75) : see declaration of 'LONG'
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(76) : error C2146: syntax error : missing ';' before identifier 'TermVFW'
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(76) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(76) : error C2086: 'int WINAPI' : redefinition
1>        c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(75) : see declaration of 'WINAPI'
1>c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(76) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(103) : error C2146: syntax error : missing ';' before identifier 'MMVERSION'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(103) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(103) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(107) : error C2059: syntax error : 'return'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(111) : error C2143: syntax error : missing ';' before '*'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(111) : error C2378: 'FAR' : redefinition; symbol cannot be overloaded with a typedef
1>        c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : see declaration of 'FAR'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(111) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(121) : error C2146: syntax error : missing ';' before identifier 'ms'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(121) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(121) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(122) : error C2146: syntax error : missing ';' before identifier 'sample'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(122) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(122) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(123) : error C2146: syntax error : missing ';' before identifier 'cb'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(123) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(123) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(124) : error C2146: syntax error : missing ';' before identifier 'ticks'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(124) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(124) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(129) : error C2146: syntax error : missing ';' before identifier 'hour'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(129) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(129) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(130) : error C2146: syntax error : missing ';' before identifier 'min'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(130) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(130) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(131) : error C2146: syntax error : missing ';' before identifier 'sec'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(131) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(131) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(132) : error C2146: syntax error : missing ';' before identifier 'frame'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(132) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(132) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(133) : error C2146: syntax error : missing ';' before identifier 'fps'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(133) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(133) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(134) : error C2146: syntax error : missing ';' before identifier 'dummy'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(136) : error C2146: syntax error : missing ';' before identifier 'pad'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(136) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(136) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(143) : error C2146: syntax error : missing ';' before identifier 'songptrpos'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(143) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(143) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(146) : error C2143: syntax error : missing ';' before '*'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(146) : error C2143: syntax error : missing ';' before '*'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(146) : error C2086: 'int FAR' : redefinition
1>        c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : see declaration of 'FAR'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(286) : error C2065: 'HDRVR' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(286) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(299) : error C2146: syntax error : missing ';' before identifier 'dwDCISize'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(299) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(299) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(300) : error C2146: syntax error : missing ';' before identifier 'lpszDCISectionName'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(300) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(300) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(301) : error C2146: syntax error : missing ';' before identifier 'lpszDCIAliasName'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(301) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(301) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(302) : error C2146: syntax error : missing ';' before identifier 'dnDevNode'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(302) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(302) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(303) : error C2143: syntax error : missing ';' before '*'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(303) : error C2371: 'NEAR' : redefinition; different basic types
1>        c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(146) : see declaration of 'NEAR'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(303) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(303) : error C2143: syntax error : missing ';' before '*'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(303) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(303) : error C2086: 'int FAR' : redefinition
1>        c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : see declaration of 'FAR'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(303) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(337) : error C2146: syntax error : missing ';' before identifier 'dwDCISize'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(337) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(337) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(338) : error C2146: syntax error : missing ';' before identifier 'lpszDCISectionName'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(338) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(338) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(339) : error C2146: syntax error : missing ';' before identifier 'lpszDCIAliasName'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(339) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(339) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(340) : error C2143: syntax error : missing ';' before '*'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(340) : error C2371: 'NEAR' : redefinition; different basic types
1>        c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(146) : see declaration of 'NEAR'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(340) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(340) : error C2143: syntax error : missing ';' before '*'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(340) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(340) : error C2086: 'int FAR' : redefinition
1>        c:\program files\microsoft sdks\windows\v6.0a\include\vfw.h(67) : see declaration of 'FAR'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(340) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(357) : error C2065: 'CALLBACK' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(357) : error C2065: 'DRIVERPROC' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(357) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h(357) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>Generating Code...
1>Compiling...
1>rsrecorder.cpp
1>Generating Code...
1>Build log was saved at "file://i:\ROSOO\rslab\21-jupiter\rsrecorder\projects\msvc\Debug\BuildLog.htm"
1>rsrecorder - 109 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


 楼主| jackyhwei 发表于 | 显示全部楼层

GMT,

Powered by Discuz!

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表