Boost C++ Libraries: Ticket #8619: Multiple declaration Error in Memory.hpp https://svn.boost.org/trac10/ticket/8619 <p> This problem is related to VS2012. As I'm migrating my project from vs2010 to vs2012 I'm getting an error like multiple declaration of Weak_ptr in memory.hpp </p> <p> When I carefully analyze i found that there is file in VS2012 yval.h and there is #define missing. _HAS_TR1 </p> <p> when I defined it inside VS2012 it started working properly. </p> <p> Please let me know if there is any other alternative to solve this problem. Or this is the only way to comeout from it. </p> <p> Regards, Sudhir </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8619 Trac 1.4.3 viboes Mon, 03 Jun 2013 18:06:39 GMT <link>https://svn.boost.org/trac10/ticket/8619#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8619#comment:1</guid> <description> <p> Of which memory.hpp file are you talking </p> <pre class="wiki">find . -name memory.hpp ./config/no_tr1/memory.hpp ./detail/win/memory.hpp ./statechart/detail/memory.hpp ./thread/detail/memory.hpp ./tr1/memory.hpp ./typeof/std/memory.hpp </pre><p> Could you post the error? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 08 Jun 2013 16:55:03 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8619#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8619#comment:2</guid> <description> <p> Ping !!! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sun, 09 Jun 2013 20:01:23 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8619#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8619#comment:3</guid> <description> <p> How is this a regression if you are changing the compiler version? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 03 Jul 2013 16:52:23 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8619#comment:4 https://svn.boost.org/trac10/ticket/8619#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> You need to be more specific. Reopen when you post the information required. </p> Ticket