Boost C++ Libraries: Ticket #10872: MSVC static analyser warning in Boost.System https://svn.boost.org/trac10/ticket/10872 <p> boost\system\detail\error_code.ipp(422) : warning C6102: Using 'lpMsgBuf' from failed function call at line '418'.: Lines: 410, 411, 422 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10872 Trac 1.4.3 Beman Dawes Mon, 15 Dec 2014 16:32:44 GMT <link>https://svn.boost.org/trac10/ticket/10872#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10872#comment:1</guid> <description> <p> Please supply instructions for reproducing the problem. Also, what platform, compiler version, etc. </p> <p> --Beman </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Niall Douglas</dc:creator> <pubDate>Mon, 15 Dec 2014 16:55:18 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10872#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10872#comment:2</guid> <description> <p> VS2013. You need to supply the /analyze flag to enable the static analyser. Note the MSVC static analyser can be a little buggy, if it's a false positive use the usual #pragma warning(disable) wrap to suppress it. </p> <p> Here's a full build log: <a class="ext-link" href="https://ci.nedprod.com/view/Boost%20Thread-Expected-Permit/job/Boost.Thread%20Build/CPPSTD=c++14,CXX=msvc-analyse,LINKTYPE=shared,label=win8-msvc-mingw/64/console"><span class="icon">​</span>https://ci.nedprod.com/view/Boost%20Thread-Expected-Permit/job/Boost.Thread%20Build/CPPSTD=c++14,CXX=msvc-analyse,LINKTYPE=shared,label=win8-msvc-mingw/64/console</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>