T O P I C R E V I E W |
wak |
Posted - Aug 06 2015 : 02:41:22 AM 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; }
|
1 L A T E S T R E P L I E S (Newest First) |
accord |
Posted - Aug 07 2015 : 08:42:43 AM 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. |
|
|