Skip to main content
gamedev.net
🔒 Locked

boost ptr_vector bug

Started by EvaldsUrtans 1 reply 850+ views
Original Post
oler1s
oler1s
Quote:
But I do not know where can I find those fixed boost files that guy is talking about? Where do boost developers put they latest stuff?
As is common with many major open source type projects, they keep their code repositories open to the public (read only of course).

I think they have syncronized repositories under CVS and SVN (in which case prefer the SVN repo). Grab everything from trunk and you’re set to go.

In the off case you are unfamiliar with code repositories (you did ask this question...) google and wikipedia search on version control system and subversion. Once you understand the basic concept, download a program called TortoiseSVN. Then head over to http://svn.boost.org/trac/boost/ . The page tells you the information necessary to checkout from trunk.

And FWIW, I successfully compiled the necessary boost libraries (program_options, thread, test, etc.) under VS8 with SVN trunk. This was some many weeks ago I believe.
EvaldsUrtans
EvaldsUrtans
Thank you, I will check out latest versions as well.

I found exact problem, I think ptr_vector is non-copyable, because it makes that compiler error when I was trying to return ptr_vector from memeber functions. Stupid thing about that was - it crashed in boost code during compilation, so after I found that forum thread with the same error, I assumed it is boost fault.

*Maybe it is, I do not see a reason why it do not allow to copy ptr_vector object.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.