Boost C++ Libraries: Ticket #124: Warnings of "_MSC_VER" not being defined https://svn.boost.org/trac10/ticket/124 <pre class="wiki">I'm using the &lt;boost/shared_ptr.hpp&gt; from the CVS version with GCC-3.2. I get a lot of warnings about _MSC_VER not being defined. The warning is caused by these kind of lines in several header files: #if _MSC_VER &gt;= 1020 Should'nt that be: #if defined(_MSC_VER) &amp;&amp; _MSC_VER &gt;= 1020 These are the files causing warnings in my case: assert.hpp checked_delete.hpp detail/lightweight_mutex.hpp detail/lwm_pthreads.hpp detail/shared_count.hpp throw_exception.hpp Thanks, Markus Järvinen &lt;markus.jarvinen@pp2.inet.fi&gt; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/124 Trac 1.4.3 bjorn_karlsson Wed, 18 Feb 2004 11:24:39 GMT status changed https://svn.boost.org/trac10/ticket/124#comment:1 https://svn.boost.org/trac10/ticket/124#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=536454 Thank you for submitting a bug report to BOOST </pre> Ticket bjorn_karlsson Wed, 18 Feb 2004 11:25:36 GMT <link>https://svn.boost.org/trac10/ticket/124#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/124#comment:2</guid> <description> <pre class="wiki">Logged In: YES user_id=536454 Thank you for submitting a bug report to BOOST </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>bjorn_karlsson</dc:creator> <pubDate>Wed, 18 Feb 2004 11:26:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/124#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/124#comment:3</guid> <description> <pre class="wiki">Logged In: YES user_id=536454 Thank you for submitting a bug report to BOOST </pre> </description> <category>Ticket</category> </item> </channel> </rss>