Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Code like below can't show all methods
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

wak
Starting Member

1 Posts

Posted - Aug 06 2015 :  02:41:22 AM  Show Profile  Reply with Quote


do
{
#ifndef USE_HP_SOCKET
if ( m_spUDPSocket ) {
m_spUDPSocket->AdviseSink(t


his);
int nThreadCount = 1;
DWORD dwSendBufSize = 0, dwRecvBufSize = 0;
#ifdef MEIDA_PUBLISH_SERVER
nThreadCount = 0;
dwSendBufSize = 10*1024*1024;
dwRecvBufSize = 10*1024*1024;
#endif
#ifndef __LINUX__
if(S_OK != m_spUDPSocket->Start(m_MyNodeKey.localPort, 0, dwSendBufSize, dwRecvBufSize, nThreadCount))
{
break;
}
#else
if(S_OK != m_spUDPSocket->Start(m_MyNodeKey.localPort, true))
{
break;
}
#endif
#else
if ( m_spUDPSocket ) {
m_spUDPSocket->Start("0.0.0.0", m_MyNodeKey.localPort);
#endif
}
else
{
break;
}






Edited by - wak on Aug 06 2015 02:41:52 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 07 2015 :  08:42:43 AM  Show Profile  Reply with Quote
Thank you for reporting this. I was able to reproduce the problem:

case=4222

Basically the problem is that our parser parses every preprocessor branches, so a mismatching {} can cause problems. This helps sometimes e.g. you can work with _DEBUG code while your active configuration is _RELEASE, etc. In this case this is causing trouble for you.

Anyway, this is clearly a bug.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000