From: Jacek S. <arn...@gm...> - 2009-03-03 09:23:12
|
I'd suspect you're using an old boost then, or not putting boost/tr1/tr1 first in the include path... see http://www.boost.org/doc/libs/1_38_0/doc/html/boost_tr1/usage.html I don't remember when boost.tr1 appeared but my guess would be around 1.35.. On Mon, Mar 2, 2009 at 11:44 PM, Razzloss <raz...@gm...> wrote: > Hi all, > > One of the changes I made to get 0.705 to compile (and had forgotten about > until this conversation) was in stdinc.h. #include <memory> had to be moved > to #elif defined(__GLIBCPP__)... block and changed to <tr1/memory>. After > that std::tr1::shared_ptr should be found. > > No idea what this does to the windows compile, so I didn't send changes to > the > upstream. > > --RZ > > On Monday 02 March 2009 20:41:56 Steven Sheehy wrote: > > Jacek, > > > > With std::tr1 namespace, it did not compile on g++ 4.3.2 and libstdc++ > > 4.3.2. It was unable to find shared_ptr in tr1, so I switched it to > boost. > > I guess on my system it doesn't use the boost one as a fallback like you > > mention. > > > > -Steven > > > > Jacek Sieka wrote: > > > Hey Steven, > > > I noticed you changed from tr1 to boost shared_ptr, what's wrong with > the > > > one from tr1 (which is drawn from boost if it's missing from the > > > compiler)? > > > > > > /J > > > > > > > ------------------------------------------------------------------------- > > >----- Open Source Business Conference (OSBC), March 24-25, 2009, San > > > Francisco, CA -OSBC tackles the biggest issue in open source: Open > > > Sourcing the Enterprise -Strategies to boost innovation and cut costs > > > with open source participation -Receive a $600 discount off the > > > registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > > > _______________________________________________ > > > dcplusplus-devel mailing list > > > dcp...@li... > > > https://lists.sourceforge.net/lists/listinfo/dcplusplus-devel > > > > > --------------------------------------------------------------------------- > >--- Open Source Business Conference (OSBC), March 24-25, 2009, San > > Francisco, CA -OSBC tackles the biggest issue in open source: Open > Sourcing > > the Enterprise -Strategies to boost innovation and cut costs with open > > source participation -Receive a $600 discount off the registration fee > with > > the source code: SFAD http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > dcplusplus-devel mailing list > > dcp...@li... > > https://lists.sourceforge.net/lists/listinfo/dcplusplus-devel > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > dcplusplus-devel mailing list > dcp...@li... > https://lists.sourceforge.net/lists/listinfo/dcplusplus-devel > |