Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12052: Boost 1.60 any.hpp error: 'if_' in namespace 'boost::mpl' does not name a template type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-22 15:28:11
#12052: Boost 1.60 any.hpp error: 'if_' in namespace 'boost::mpl' does not name a
template type
------------------------------------------------+-----------------------
Reporter: Thomas Milotti <thomas.milotti@â¦> | Owner: apolukhin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: any
Version: Boost 1.60.0 | Severity: Problem
Resolution: | Keywords: any.hpp
------------------------------------------------+-----------------------
Comment (by Christopher Arndt):
A similar bug exists in `classic_utility.hpp` (resp.
`boost/spirit/home/classic/utility.hpp), which also fails to include
`if.hpp`.
{{{
Checking for header boost/spirit/include/classic_utility.hpp
==>
#include <boost/spirit/include/classic_utility.hpp>
int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}
<==
[1/2] Compiling
ESC[32mbuild/.conf_check_f294e83272b96d2356ef0156052d5b3c/test.cppESC[0m
['/usr/lib/ccache/bin/g++', '-std=c++11', '-march=x86-64',
'-mtune=generic', '-O2', '-pipe', '-fstack-protector',
'-D_FORTIFY_SOURCE=2', '-DVERSION="1.0.0"',
'-DHAVE_BOOST_SPIRIT_INCLUDE_CLASSIC_DYNAMIC_HPP=1',
'-DHAVE_BOOST_SPIRIT_INCLUDE_CLASSIC_CORE_HPP=1',
'-DHAVE_BOOST_SPIRIT_INCLUDE_CLASSIC_PARSE_TREE_HPP=1', '../test.cpp',
'-c', '-o', '/home/chris/src/arch/aur/ttl2c-
git/src/ttl2c/build/.conf_check_f294e83272b96d2356ef0156052d5b3c/testbuild/test.cpp.1.o']
err: In file included from
/usr/include/boost/spirit/home/classic/utility.hpp:30:0,
from
/usr/include/boost/spirit/include/classic_utility.hpp:11,
from ../test.cpp:1:
/usr/include/boost/spirit/home/classic/utility/loops.hpp:269:35: error:
'if_' in namespace 'boost::mpl' does not name a template type
typedef typename mpl::if_<
^~~
/usr/include/boost/spirit/home/classic/utility/loops.hpp:269:38: error:
expected unqualified-id before '<' token
typedef typename mpl::if_<
^
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12052#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC