I have a new record - only 109 errors 
Edit: my mistake, I thought it was 110 before, not 101...

Edit: my mistake, I thought it was 110 before, not 101...
// JJB MSS removal // #include "mss.h" // and redefine HAUDIO, HREDBOOK, which were // presumably defined in mss.h: #define HAUDIO uint32 #define HREDBOOK uint32
CivSound::CivSound(uint32 associatedObject, sint32 soundID)
{
const char *fname;
// JJB altered so that always fname == NULL
// and then m_hAudio never needs to be initialized
//if(soundID < 0)
fname = NULL;
//else
// fname = g_theSoundDB->Get(soundID)->GetValue();
m_associatedObject = associatedObject;
m_soundID = soundID;
m_isPlaying = FALSE;
m_isLooping = FALSE;
m_hAudio = NULL;
if (fname == NULL) {
m_soundFilename[0] = 0;
m_dataptr = NULL;
m_datasize = 0;
return;
}
// JJB cut out these lines which now never run
//strcpy(m_soundFilename, fname);
//m_dataptr = g_SoundPF->getData(m_soundFilename, &m_datasize);
//m_hAudio = AIL_quick_load_mem(m_dataptr, m_datasize);
}
Compiling...
display.cpp
c:\games\ctp2src\ctp2_code\ctp\display.h(11) : error C2146: syntax error : missing ';' before identifier 'hMon'
c:\games\ctp2src\ctp2_code\ctp\display.h(11) : error C2501: 'HMONITOR' : missing storage-class or type specifiers
c:\games\ctp2src\ctp2_code\ctp\display.h(11) : error C2501: 'hMon' : missing storage-class or type specifiers
c:\games\ctp2src\ctp2_code\ctp\display.h(25) : error C2061: syntax error : identifier 'HMONITOR'
c:\games\ctp2src\ctp2_code\ctp\display.cpp(55) : error C2039: 'hMon' : is not a member of 'DisplayDevice'
c:\games\ctp2src\ctp2_code\ctp\display.h(6) : see declaration of 'DisplayDevice'
c:\games\ctp2src\ctp2_code\ctp\display.cpp(68) : error C2065: 'LPDIRECTDRAWENUMERATEEX' : undeclared identifier
c:\games\ctp2src\ctp2_code\ctp\display.cpp(68) : error C2146: syntax error : missing ';' before identifier 'pfnEnum'
c:\games\ctp2src\ctp2_code\ctp\display.cpp(68) : error C2065: 'pfnEnum' : undeclared identifier
c:\games\ctp2src\ctp2_code\ctp\display.cpp(77) : error C2146: syntax error : missing ';' before identifier 'GetProcAddress'
c:\games\ctp2src\ctp2_code\ctp\display.cpp(84) : error C2100: illegal indirection
c:\games\ctp2src\ctp2_code\ctp\display.cpp(268) : error C2039: 'hMon' : is not a member of 'DisplayDevice'
c:\games\ctp2src\ctp2_code\ctp\display.h(6) : see declaration of 'DisplayDevice'
WldGen.cpp
c:\program files\microsoft visual studio\vc98\include\list(178) : warning C4786: '?rbegin@?$list@PAVTransport@NETFunc@@V?$allocator@PAVTransport@NETFunc@@@std@@@std@@QBE?AV?$reverse_bidirectional_iterator@Vconst_iterator@?$list@PAVTransport@NETFunc@
@V?$allocator@PAVTransport@NETFunc@@@std@@@std@@PAVTransport@NETFunc@@ABQAV45@PBQAV45@H@2@XZ' : identifier was truncated to '255' characters in the browser information
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(134) : see reference to class template instantiation 'std::list >' being compiled
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(753) : see reference to class template instantiation 'NETFunc::List' being compiled
c:\program files\microsoft visual studio\vc98\include\list(182) : warning C4786: '?rend@?$list@PAVTransport@NETFunc@@V?$allocator@PAVTransport@NETFunc@@@std@@@std@@QBE?AV?$reverse_bidirectional_iterator@Vconst_iterator@?$list@PAVTransport@NETFunc@@V
?$allocator@PAVTransport@NETFunc@@@std@@@std@@PAVTransport@NETFunc@@ABQAV45@PBQAV45@H@2@XZ' : identifier was truncated to '255' characters in the browser information
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(134) : see reference to class template instantiation 'std::list >' being compiled
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(753) : see reference to class template instantiation 'NETFunc::List' being compiled
c:\program files\microsoft visual studio\vc98\include\list(176) : warning C4786: '?rbegin@?$list@PAVPlayerStat@NETFunc@@V?$allocator@PAVPlayerStat@NETFunc@@@std@@@std@@QAE?AV?$reverse_bidirectional_iterator@Viterator@?$list@PAVPlayerStat@NETFunc@@V?
$allocator@PAVPlayerStat@NETFunc@@@std@@@std@@PAVPlayerStat@NETFunc@@AAPAV45@PAPAV45@H@2@XZ' : identifier was truncated to '255' characters in the browser information
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(134) : see reference to class template instantiation 'std::list >' being compiled
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(951) : see reference to class template instantiation 'NETFunc::List' being compiled
c:\program files\microsoft visual studio\vc98\include\list(178) : warning C4786: '?rbegin@?$list@PAVPlayerStat@NETFunc@@V?$allocator@PAVPlayerStat@NETFunc@@@std@@@std@@QBE?AV?$reverse_bidirectional_iterator@Vconst_iterator@?$list@PAVPlayerStat@NETFu
nc@@V?$allocator@PAVPlayerStat@NETFunc@@@std@@@std@@PAVPlayerStat@NETFunc@@ABQAV45@PBQAV45@H@2@XZ' : identifier was truncated to '255' characters in the browser information
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(134) : see reference to class template instantiation 'std::list >' being compiled
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(951) : see reference to class template instantiation 'NETFunc::List' being compiled
c:\program files\microsoft visual studio\vc98\include\list(180) : warning C4786: '?rend@?$list@PAVPlayerStat@NETFunc@@V?$allocator@PAVPlayerStat@NETFunc@@@std@@@std@@QAE?AV?$reverse_bidirectional_iterator@Viterator@?$list@PAVPlayerStat@NETFunc@@V?$a
llocator@PAVPlayerStat@NETFunc@@@std@@@std@@PAVPlayerStat@NETFunc@@AAPAV45@PAPAV45@H@2@XZ' : identifier was truncated to '255' characters in the browser information
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(134) : see reference to class template instantiation 'std::list >' being compiled
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(951) : see reference to class template instantiation 'NETFunc::List' being compiled
c:\program files\microsoft visual studio\vc98\include\list(182) : warning C4786: '?rend@?$list@PAVPlayerStat@NETFunc@@V?$allocator@PAVPlayerStat@NETFunc@@@std@@@std@@QBE?AV?$reverse_bidirectional_iterator@Vconst_iterator@?$list@PAVPlayerStat@NETFunc
@@V?$allocator@PAVPlayerStat@NETFunc@@@std@@@std@@PAVPlayerStat@NETFunc@@ABQAV45@PBQAV45@H@2@XZ' : identifier was truncated to '255' characters in the browser information
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(134) : see reference to class template instantiation 'std::list >' being compiled
c:\games\ctp2src\ctp2_code\ui\netshell\netfunc.h(951) : see reference to class template instantiation 'NETFunc::List' being compiled
// JJB MSS removal // #include "mss.h" // and redefine HAUDIO, HREDBOOK, which were // presumably defined in mss.h: #define HAUDIO uint32 #define HREDBOOK uint32
$(CDKDIR)\flex -i -o$(ProjDir)\lex.yy.c $(InputPath)
#if(WINVER >= 0x0500) #ifndef _MAC DECLARE_HANDLE(HMONITOR); DECLARE_HANDLE(HTERMINAL); DECLARE_HANDLE(HWINEVENTHOOK); #endif #endif /* WINVER >= 0x0500 */
.
vidplay.cpp c:\dxmedia\classes\base\ctlutil.h(439) : error C2504: 'IBasicVideo2' : base class undefined c:\dxmedia\classes\base\sysclock.h(23) : error C2504: 'IAMClockAdjust' : base class undefined
vidplay.cpp c:\dxmedia\classes\base\ctlutil.h(439) : error C2504: 'IBasicVideo2' : base class undefined c:\dxmedia\classes\base\sysclock.h(23) : error C2504: 'IAMClockAdjust' : base class undefined
I was the one who added the browse version, and it was because I was the only programmer who used both browse info & remote debugging. So (if I remember correctly) it has all kinds of settings that were specific to my machine. The code it generated was the same as debug, it just had additional stuff for me in it, like the inclusion of Browse info, and the remote debugging stuff, but it also has some post build steps that were unique to my machines.
Comment