Boost logo

Boost-Build :

From: Lydia Heck (lydia.heck_at_[hidden])
Date: 2008-03-06 05:37:40


I have taken one hurdle by modifying

./boost/wave/util/flex_string.hpp", line 529: Error: Formal argument 2 of type
> > void* .....
The problem was fixed by

Changing ....
    void* Alloc(size_type sz, const void* p = 0)
    {
        return A::allocate(1 + (sz - 1) / sizeof(E),
            static_cast<const char*>(p));
    }

TO:

     void* Alloc(size_type sz, const void* p = 0)
     {
         return A::allocate(1 + (sz - 1) / sizeof(E),
           static_cast<char*>(const_cast<void*>(p)));
     }

The static_cast in the original is not allowed

After that hurdle other problem show up, which I have posted in a previous mail.

I am afraid I have no option but to build boost for Solaris 10 x64 using the
studio 12 compilers. I have followed the instructions which are given on the
blogs web site and I do not understand that somebody was able to build boost if
the same code and the same compiler brings up errors for me.

------------------------------------------
Dr E L Heck

University of Durham
Institute for Computational Cosmology
Ogden Centre
Department of Physics
South Road

DURHAM, DH1 3LE
United Kingdom

e-mail: lydia.heck_at_[hidden]

Tel.: + 44 191 - 334 3628
Fax.: + 44 191 - 334 3645
___________________________________________


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk