|
Boost : |
From: Yakov Lerner (w) (yakov.lerner_at_[hidden])
Date: 2002-11-06 11:54:47
Can anyone insert into CSV following patch, which solves
remaining build problem on Solaris Workshop 6u2.
I provide two equivalent variants, choose either
one to your taste.
V1. Here is 1st variant:
*** boost/regex/detail/regex_match.hpp Wed Nov 6 18:37:41 2002
--- boost/regex/detail/regex_match.hpp.000 Wed Nov 6 17:25:49 2002
***************
*** 216 ****
! difference_type dist = b-a;
--- 216 ----
! difference_type dist = std::distance(a,b);
V2. Here is 2nd variant.
*** boost/regex/detail/regex_match.hpp Wed Nov 6 18:47:18 2002
--- boost/regex/detail/regex_match.hpp.000 Wed Nov 6 17:25:49 2002
***************
*** 215,221 ****
{
- #ifdef __SUNPRO_CC
- difference_type dist = b-a;
- #else
difference_type dist = std::distance(a,b);
- #endif
states *= states;
--- 215,217 ----
Yakov Lerner
David Abrahams wrote:
>
> "Yakov Lerner (w)" <yakov.lerner_at_[hidden]> writes:
>
> > bug report:
> > Missing check for __SUNPRO_CC in list/for_each_i.hpp
> > makes it impossible to build regex under Sun Forte 6u2 Solaris 8,
> > (boost v1.29.0) Here are compilation errors:
>
> Have you tried with the latest Boost CVS state?
> I added some Sun-related PP lib workarounds not long ago.
>
> --
> David Abrahams
> dave_at_[hidden] * http://www.boost-consulting.com
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk