Opened 13 years ago

Closed 13 years ago

#3915 closed Bugs (fixed)

compilation error: undeclared BOOST_CURRENT_FUNCTION

Reported by: anonymous Owned by: Eric Niebler
Milestone: Boost 1.43.0 Component: xpressive
Version: Boost 1.42.0 Severity: Regression
Keywords: Cc:

Description

hi, during build my codebase with latest boost i get an error:

../../../buildenv/linux/gcc-4.4/64/boost-1.42.0/include/boost/xpressive/match_results.hpp: In member function 'OutputIterator boost::xpressive::match_results<BidiIter>::format_named_backref_(ForwardIterator&, ForwardIterator, OutputIterator) const': ../../../buildenv/linux/gcc-4.4/64/boost-1.42.0/include/boost/xpressive/match_results.hpp:1315: error: 'BOOST_CURRENT_FUNCTION' was not declared in this scope In file included from ../../../buildenv/linux/gcc-4.4/64/boost-1.42.0/include/boost/xpressive/detail/core/matchers.hpp:33,

from ../../../buildenv/linux/gcc-4.4/64/boost-1.42.0/include/boost/xpressive/regex_primitives.hpp:22, from ../../../buildenv/linux/gcc-4.4/64/boost-1.42.0/include/boost/xpressive/xpressive_static.hpp:24, from ../../../buildenv/linux/gcc-4.4/64/boost-1.42.0/include/boost/xpressive/xpressive.hpp:18

it worked with 1.40, so it looks like a regression.

Change History (1)

comment:1 by Eric Niebler, 13 years ago

Resolution: fixed
Status: newclosed

(In [59619]) add missing include, fixes #3915

Note: See TracTickets for help on using tickets.