<div dir="ltr">Hi All,<div><br></div><div style>Firstly, a huge thanks to everyone that got this patch in. It's certainly improved MSVC compatibility by a significant margin. I've been busy testing it against various windows code bases with positive results. However, it's not all good news, MFC is fighting back:</div>
<div style><br></div><div style><div>  In file included from atlmfc\include\afxwin.h:70:</div><div>  In file included from atlmfc\include\atlhandler.h:22:</div><div>  In file included from atlmfc\include\atlstr.h:19:</div>
<div>  atlmfc\include\atlbase.h(4546,23): error : cannot take the address of an rvalue of type 'CRITICAL_SECTION'</div><div>                  EnterCriticalSection(&m_csStaticDataInit);</div><div><br></div><div style>
The problem source is:</div><div style><br></div><div style><div><span class="" style="white-space:pre">  </span>__declspec(property(get  = get_m_csStaticDataInit)) CRITICAL_SECTION m_csStaticDataInit;</div><div><span class="" style="white-space:pre">   </span>CRITICAL_SECTION& get_m_csStaticDataInit() throw();</div>
<div><span class="" style="white-space:pre">    </span>void EnterStaticDataCriticalSection() throw()</div><div><span class="" style="white-space:pre">      </span>{</div><div><span class="" style="white-space:pre">          </span>EnterCriticalSection(&m_csStaticDataInit);</div>
<div><span class="" style="white-space:pre">    </span>}</div><div><br></div><div style>Any easy fixes? If not, I might have a chance to look at it later in the week.</div><div style><br></div><div style>Cheers,</div><div style>
Will.</div></div></div></div>