Opened 15 years ago

Closed 15 years ago

#1148 closed Bugs (worksforme)

boost_1_34_1 regex library compile failure on aix with xlv

Reported by: jareg.dao@… Owned by: John Maddock
Milestone: To Be Determined Component: regex
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

I made some modification, to make the compile success. Because i'am not familar with the boost regex source,is all the mondification right?

basic_regex.hpp 266 : old : #if !defined(BOOST_NO_MEMBER_TEMPLATES) 266 : new : #if !defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(IBMCPP)

regex_traits.hpp 79 : old : #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !BOOST_WORKAROUND(HP_aCC, BOOST_TESTED_AT(55500))

79 : new : #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !BOOST_WORKAROUND(HP_aCC, BOOST_TESTED_AT(55500)) && !defined(IBMCPP)

iterator_category.hpp 68: old template <class I> struct is_random_access_iterator { private:

typedef detail::is_random_imp_selector< ::boost::is_pointer<I>::value> selector; typedef typename selector::template rebind<I> bound_type; typedef typename bound_type::type answer;

public:

BOOST_STATIC_CONSTANT(bool, value = answer::value);

};

68: new template <class I> struct is_random_access_iterator { private:

typedef detail::is_random_imp_selector< ::boost::is_pointer<I>::value> selector; typedef typename selector::template rebind<I> bound_type;

public:

typedef typename bound_type::type answer; BOOST_STATIC_CONSTANT(bool, value = answer::value);

};

Change History (3)

comment:1 by René Rivera, 15 years ago

Component: Noneregex
Owner: set to John Maddock

comment:2 by John Maddock, 15 years ago

Status: newassigned

The changes shouldn't do any harm certainly: however I don't believe they should be needed with an up to date xlc compiler version.

Can you let me know what value IBMCPP evaluates to?

John.

comment:3 by John Maddock, 15 years ago

Resolution: worksforme
Status: assignedclosed

Boost.Regex is building OK with the current xlc release, so I'm closing this one down, please reopen if you really need support for older xlc releases.

Note: See TracTickets for help on using tickets.