Building boost 1.33.1 64-bit using VC-8
Hello all, First of all, I want to say boost has been totally awesome for the programming team in which I work. Kudos to everyone contributing! For skimmers, #3 is the one that has a question related to it. I'm trying to build boost 1.33.1 64-bit using VC-8 (team suite) and I've run into some (minor) issues. They are: 1. The vc-8_0-x86_amd64-tools.jam does not refer to the correct vcvars batch file. It specifies $(VC_ROOT)\bin\x86_amd64\VCVARSamd64.bat but there isn't any such file. The proper file is $(VC_ROOT)\bin\x86_amd64\vcvarsx86_amd64.bat 2. The thread library doesn't link because of the ice_wrapper used in once.cpp (in compare_exchange line 119). Replacing the compare_exchange with an actual call to InterlockedCompareExchange did the trick. I believe this is because it is an intrinsic function. 3. This one is the most confusing to me: the abi prefix headers perform #pragma pack(push, 8). No warnings pop up in 32-bit mode because 8 bytes is the default alignment. However, in 64-bit mode, the default alignment is 16 bytes. Why would boost ever want to enforce a specific packing? Is it safe for me to simply comment these out? I *really* don't like the idea of enforcing an 8 byte alignment when the default is 16 bytes. Any comments here? Thanks! Jason.
Hi, I am not finding documentation for boost::circular_buffer which is in the sandbox (Though I had seen some documentation of it a few months back). Can somebody point out a link for the documentation ? or give a line or two showing difference between space_optimized_circular_buffer and circular_buffer ? Thanks abir -- Abir Basak, Member IEEE Software Engineer, Read Ink Technologies B. Tech, IIT Kharagpur email: abir@abirbasak.com homepage: www.abirbasak.com
On 12/1/06, abir basak
Hi, I am not finding documentation for boost::circular_buffer which is in the sandbox (Though I had seen some documentation of it a few months back). Can somebody point out a link for the documentation ? or give a line or two showing difference between space_optimized_circular_buffer and circular_buffer ?
Does circular_buffer come from the new GIL (Generic Image Library)? If so, that's the one from Abobe's ASL, and there are docs at opensource.adobe.com. Otherwise, I don't know. And either way, I don't know what the differences are. Thanks
abir
Tony
Gottlob Frege wrote:
On 12/1/06, *abir basak*
mailto:abirbasak@gmail.com> wrote: Hi, I am not finding documentation for boost::circular_buffer which is in the sandbox (Though I had seen some documentation of it a few months back). Can somebody point out a link for the documentation ? or give a line or two showing difference between space_optimized_circular_buffer and circular_buffer ?
Does circular_buffer come from the new GIL (Generic Image Library)? If so, that's the one from Abobe's ASL, and there are docs at opensource.adobe.com http://opensource.adobe.com. Otherwise, I don't know. And either way, I don't know what the differences are.
No. It is the one in boost sand_box provided by Jan Gaspar. It has a few more facility than the ASL one. Like it can reorganize itself to a linear buffer, and can (re)set the capacity to a new one, among few others. I am not sure why boost is still not including directly, or not pushing it for any standard. In my opinion it is the second most important data structure after hash_map (which also surprisingly missed from STL ) esp for programming with small memory devices. Also it looks my question is posted in wrong thread. Will try to post in a separate thread. Thanks abir
Thanks abir
Tony
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Abir Basak, Member IEEE Software Engineer, Read Ink Technologies B. Tech, IIT Kharagpur email: abir@abirbasak.com homepage: www.abirbasak.com
participants (3)
-
abir basak
-
Gottlob Frege
-
Jason Nye