Boost logo

Boost Users :

From: Yaron Hirsch (yaronh_at_[hidden])
Date: 2004-06-03 07:45:19


> The errors that we got:
>
> 1. The Workshop 6 errors (SunOS):
>
> CC -c -O2 -I../../../ -o sunpro/libboost_regex/c_regex_traits.o
> ../src/c_regex_traits.cpp
> "../../..//boost/regex/v4/match_flags.hpp", line 91: Error: Cannot
> assign int to boost::regex_constants::_match_flags.
> "../../..//boost/regex/v4/match_flags.hpp", line 93: Error: Cannot
> assign int to boost::regex_constants::_match_flags.
> "../../..//boost/regex/v4/match_flags.hpp", line 95: Error: Cannot
> assign int to boost::regex_constants::_match_flags.
> 3 Error(s) detected.
>
> These are just a few. The rest of the errors occured for the same
> reasons in various files. (If you want those too -
> let me know).
>
> 2. The aCC errors are (HP-IX):
> aCC -o generic/boost_regex/cpp_regex_traits.o -c -Aa -AA +O2
> -I../../../ -O ../src/cpp_regex_traits.cpp
> Error 742: "../src/cpp_regex_traits.cpp", line 382 # Source type
> const char *& and target type char * in a const_cast can only differ in
> their qualifiers
> pmd->sbuf.pubsetbuf(const_cast<char*>(first),
> static_cast<std::streamsize>(last-first));
>
> I mistakingly wrote dynamic_cast in the original post, but I meant
> const_cast. Sorry for the confusion.
>
> Please notice that we had to add manually some flags to generic.mak
> (which is the makefile we used to build it
> on HP-IX). I'm aware of some example you gave in the html
> documentation about compiling with aCC - but we still
> had to change some flags. (I know these weren't formal settings and
> just an example).
>
> Is there any chance that there will be a HP-IX-special makefile? It
> will make life much easier. :-)
>
3. I forgot to mension, that we managed to compile RegEX with SunOS C++ 5.5
both in 32 & 64 bits. There were no errors, BUT
        in 64 bits when we tried to run the rs/regress test - it failed
(something which didn't happen in the 32-bits version). There was
also a memory access violation, so even thought the compilation went just
fine - apparently the library is
        not fully 64-bit compatible.

        What can we do to overcome this problem?

Thanks alot,
Yaron


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net