i have legacy code meant run .net 2.0 solution. didn't have chance make changes since cannot built. @ first glance errors related braces and/or semicolons mismatch, have checked well. worked several months ago other project. =/
edit: errors point part of code:
#if net20 public ref class simpleaudioplayer : public system::componentmodel::component #else __gc public class simpleaudioplayer : public system::componentmodel::component #endif {
this build log:
build log rebuild started: project: simpleaudioplayer, configuration: debug|win32
command lines creating temporary file "f:\projects\fireplay\fireopssql\modules\misc\simpleaudioplayer\debug\rsp00002b51362624.rsp" contents [ /od /i "........\libs\libmad" /i "........\shared\audioengine" /d "win32" /d "_debug" /d "net20" /d "_windll" /d "_afxdll" /d "_mbcs" /fd /eha /md /yu"stdafx.h" /fp"debug\simpleaudioplayer.pch" /fo"debug\" /fd"debug\vc80.pdb" /w3 /c /zi /clr:oldsyntax /tp /fu "c:\windows\microsoft.net\framework\v2.0.50727\system.dll" /fu "c:\windows\microsoft.net\framework\v2.0.50727\system.data.dll" /fu "c:\windows\microsoft.net\framework\v2.0.50727\system.xml.dll" ........\shared\audioengine\wavefile.cpp .\simpleaudioplayercomponent.cpp ........\shared\audioengine\silencedaudiofile.cpp ........\shared\audioengine\mpfile.cpp ........\shared\audioengine\finalwaveout.cpp ........\shared\audioengine\filteredaudiofile.cpp ........\shared\audioengine\envelope.cpp ........\shared\audioengine\dirsubstitution.cpp ........\shared\audioengine\cutlistfile.cpp ........\shared\audioengine\audiofilefactory.cpp ........\shared\audioengine\audiofile.cpp .\assemblyinfo.cpp ] creating command line "cl.exe @f:\projects\fireplay\fireopssql\modules\misc\simpleaudioplayer\debug\rsp00002b51362624.rsp /nologo /errorreport:prompt" creating temporary file "f:\projects\fireplay\fireopssql\modules\misc\simpleaudioplayer\debug\rsp00002c51362624.rsp" contents [ /od /i "........\libs\libmad" /i "........\shared\audioengine" /d "win32" /d "_debug" /d "net20" /d "_windll" /d "_afxdll" /d "mbcs" /fd /eha /md /yc"stdafx.h" /fp"debug\simpleaudioplayer.pch" /fo"debug\" /fd"debug\vc80.pdb" /w3 /c /zi /clr:oldsyntax /tp /fu "c:\windows\microsoft.net\framework\v2.0.50727\system.dll" /fu "c:\windows\microsoft.net\framework\v2.0.50727\system.data.dll" /fu "c:\windows\microsoft.net\framework\v2.0.50727\system.xml.dll" .\stdafx.cpp ] creating command line "cl.exe @f:\projects\fireplay\fireopssql\modules\misc\simpleaudioplayer\debug\rsp00002c51362624.rsp /nologo /errorreport:prompt"
output window compiling... stdafx.cpp winver not defined. defaulting 0x0502 (windows server 2003) compiling... wavefile.cpp simpleaudioplayercomponent.cpp f:\projects\fireplay\fireopssql\modules\misc\simpleaudioplayer\simpleaudioplayercomponent.h(22) : error c2059: syntax error : 'public' f:\projects\fireplay\fireopssql\modules\misc\simpleaudioplayer\simpleaudioplayercomponent.h(22) : error c2059: syntax error : 'public' f:\projects\fireplay\fireopssql\modules\misc\simpleaudioplayer\simpleaudioplayercomponent.h(22) : error c2143: syntax error : missing ';' before '{' f:\projects\fireplay\fireopssql\modules\misc\simpleaudioplayer\simpleaudioplayercomponent.h(22) : error c2447: '{' : missing function header (old-style formal list?) silencedaudiofile.cpp ........\shared\audioengine\silencedaudiofile.cpp(29) : warning c4244: '=' : conversion 'double' 'dword', possible loss of data ........\shared\audioengine\silencedaudiofile.cpp(82) : warning c4018: '<' : signed/unsigned mismatch ........\shared\audioengine\silencedaudiofile.cpp(83) : warning c4018: '<' : signed/unsigned mismatch ........\shared\audioengine\silencedaudiofile.cpp(84) : warning c4018: '<' : signed/unsigned mismatch mpfile.cpp f:\projects\fireplay\libs\libmad\mad.h(197) : warning c4793: '_asm' : causes native code generation function 'mad_fixed_t mad_f_mul_inline(mad_fixed_t,mad_fixed_t)' f:\projects\fireplay\libs\libmad\mad.h(191) : see declaration of 'mad_f_mul_inline' finalwaveout.cpp filteredaudiofile.cpp envelope.cpp dirsubstitution.cpp cutlistfile.cpp ........\shared\audioengine\cutlistfile.cpp(104) : warning c4244: '=' : conversion 'double' 'dword', possible loss of data audiofilefactory.cpp audiofile.cpp assemblyinfo.cpp generating code...
results build log saved @ "file://f:\projects\fireplay\fireopssql\modules\misc\simpleaudioplayer\debug\buildlog.htm" simpleaudioplayer - 4 error(s), 6 warning(s)
what have i've done wrong?
Comments
Post a Comment