Opened 9 years ago

Closed 9 years ago

#8619 closed Bugs (invalid)

Multiple declaration Error in Memory.hpp

Reported by: Sudhir Owned by:
Milestone: To Be Determined Component: None
Version: Boost 1.52.0 Severity: Regression
Keywords: Cc: sudhirinmnnit@…

Description

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

When I carefully analyze i found that there is file in VS2012 yval.h and there is #define missing. _HAS_TR1

when I defined it inside VS2012 it started working properly.

Please let me know if there is any other alternative to solve this problem. Or this is the only way to comeout from it.

Regards, Sudhir

Change History (4)

comment:1 by viboes, 9 years ago

Of which memory.hpp file are you talking

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

Could you post the error?

Last edited 9 years ago by viboes (previous) (diff)

comment:2 by viboes, 9 years ago

Ping !!!

comment:3 by viboes, 9 years ago

How is this a regression if you are changing the compiler version?

comment:4 by viboes, 9 years ago

Resolution: invalid
Status: newclosed

You need to be more specific. Reopen when you post the information required.

Note: See TracTickets for help on using tickets.