Boost logo

Boost Users :

From: dufr0017 (Mark.Dufresne_at_[hidden])
Date: 2002-06-26 15:06:47


I am trying to build the Regex library for hp_ux 11.0 using aCC
version 3.33. I have tried both the current CVS version and version
1.28 of Boost. With either one, I get the same errors. Below is the
full text of my error message.

I have been able to build successfully on many other platforms. I
found a message in the archives, accessible at
http://lists.boost.org/MailArchives/boost/msg29179.php, where another
user has experienced a similar problem. Has anyone solved this
problem, or could any offer a possible fix? Is anyone using Regex on
HP_UX? If so, any tips on configuration, etc, would be greatly
appreciated. I am stumped by this one.

Thanks in advance for your help,

Mark Dufresne

Here is the error:

        aCC -o hp_ux/boost_regex/cregex.o -c -I../../../ +Z -AA -mt
+DAportable -g0 +W749 ../src/cregex.cpp

Error 619: "../../../boost/regex/detail/regex_match.hpp", line 1781 #
The definition of template
iterator_traits<boost::detail::allocator_adapter<char,boost::detail::s
imple_alloc> > contains typename
qualification '_Iterator::iterator_category', yet generation of
specialization struct
iterator_traits<boost::detail::allocator_adapter<char,boost::detail::s
imple_alloc> > implies that '_Iterator' is 'class
allocator_adapter<char,boost::detail::simple_alloc>', which does not
contain a type named 'iterator_category'.
return re_detail::reg_grep(re_detail::grep_search_predicate<iterator,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Error 618: Exact position unknown; near
["../../../boost/regex/detail/regex_match.hpp", line 1781]. # The
definition of template iterator_traits<template#0> contains typename
qualification '_Iterator::value_type', yet generation of
specialization struct iterator_traits<template#0> implies
that '_Iterator' is 'tentative class template#0', which is incomplete.

Error 445: "../../../boost/regex/detail/regex_match.hpp", line 1781 #
Cannot recover from earlier errors.
return re_detail::reg_grep(re_detail::grep_search_predicate<iterator,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*** Error exit code 2


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