Boost C++ Libraries: Ticket #13059: Getting attached error when trying to use property_tree header https://svn.boost.org/trac10/ticket/13059 <p> /usr/local/include/boost/mpl/vector/aux_/at.hpp: At global scope: /usr/local/include/boost/mpl/vector/aux_/at.hpp:31: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/at.hpp:34: error: template argument 1 is invalid /usr/local/include/boost/mpl/vector/aux_/at.hpp:35: error: ‘template&lt;class _Tp, class _Alloc&gt; class std::vector’ used without template parameters /usr/local/include/boost/mpl/vector/aux_/at.hpp:39: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/at.hpp:41: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_at_impl’ /usr/local/include/boost/mpl/vector/aux_/at.hpp:41: error: expected a constant of type ‘int’, got ‘vector’ /usr/local/include/boost/mpl/vector/aux_/at.hpp:41: error: template argument 1 is invalid /usr/local/include/boost/mpl/vector/aux_/at.hpp:42: error: expected ‘::’ before ‘{’ token /usr/local/include/boost/mpl/vector/aux_/at.hpp:42: error: expected class-name before ‘{’ token /usr/local/include/boost/mpl/vector/aux_/at.hpp:48: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/at.hpp:52: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_at’ /usr/local/include/boost/mpl/vector/aux_/at.hpp:52: error: expected a constant of type ‘int’, got ‘vector’ In file included from /usr/local/include/boost/mpl/vector/vector0.hpp:18, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/front.hpp:31: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/front.hpp:32: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_at’ /usr/local/include/boost/mpl/vector/aux_/front.hpp:32: error: expected a constant of type ‘int’, got ‘vector’ In file included from /usr/local/include/boost/mpl/vector/vector0.hpp:19, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/push_front.hpp:30: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/push_front.hpp:32: error: type/value mismatch at argument 2 in template parameter list for ‘template&lt;class T, class Base, int at_front&gt; struct boost::mpl::v_item’ /usr/local/include/boost/mpl/vector/aux_/push_front.hpp:32: error: expected a type, got ‘vector’ In file included from /usr/local/include/boost/mpl/vector/vector0.hpp:20, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/pop_front.hpp:30: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/pop_front.hpp:32: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;class Base, int at_front&gt; struct boost::mpl::v_mask’ /usr/local/include/boost/mpl/vector/aux_/pop_front.hpp:32: error: expected a type, got ‘vector’ In file included from /usr/local/include/boost/mpl/vector/vector0.hpp:21, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/push_back.hpp:30: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/push_back.hpp:32: error: type/value mismatch at argument 2 in template parameter list for ‘template&lt;class T, class Base, int at_front&gt; struct boost::mpl::v_item’ /usr/local/include/boost/mpl/vector/aux_/push_back.hpp:32: error: expected a type, got ‘vector’ In file included from /usr/local/include/boost/mpl/vector/vector0.hpp:22, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/pop_back.hpp:30: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/pop_back.hpp:32: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;class Base, int at_front&gt; struct boost::mpl::v_mask’ /usr/local/include/boost/mpl/vector/aux_/pop_back.hpp:32: error: expected a type, got ‘vector’ In file included from /usr/local/include/boost/mpl/vector/vector0.hpp:23, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/back.hpp:31: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/back.hpp:34: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/back.hpp:34: error: expected template-argument before ‘::’ token /usr/local/include/boost/mpl/vector/aux_/back.hpp:34: error: expected ‘&gt;’ before ‘::’ token /usr/local/include/boost/mpl/vector/aux_/back.hpp:34: error: template argument 1 is invalid /usr/local/include/boost/mpl/vector/aux_/back.hpp:34: error: ‘&lt;expression error&gt;::type’ has not been declared /usr/local/include/boost/mpl/vector/aux_/back.hpp:34: error: expected template-argument before ‘value’ /usr/local/include/boost/mpl/vector/aux_/back.hpp:34: error: expected ‘&gt;’ before ‘value’ /usr/local/include/boost/mpl/vector/aux_/back.hpp:35: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_at’ /usr/local/include/boost/mpl/vector/aux_/back.hpp:35: error: expected a constant of type ‘int’, got ‘vector’ /usr/local/include/boost/mpl/vector/aux_/back.hpp:35: error: template argument 2 is invalid /usr/local/include/boost/mpl/vector/aux_/back.hpp:36: error: expected ‘::’ before ‘{’ token /usr/local/include/boost/mpl/vector/aux_/back.hpp:36: error: expected class-name before ‘{’ token In file included from /usr/local/include/boost/mpl/vector/aux_/vector0.hpp:22, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/aux_/clear.hpp:18, from /usr/local/include/boost/mpl/vector/vector0.hpp:24, from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:33: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:40: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_at’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:40: error: expected a constant of type ‘int’, got ‘vector’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:42: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:62: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:65: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_iter’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:65: error: expected a constant of type ‘int’, got ‘vector’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:65: error: template argument 1 is invalid /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:71: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:74: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_iter’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:74: error: expected a constant of type ‘int’, got ‘vector’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:74: error: template argument 1 is invalid /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:80: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:84: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_iter’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:84: error: expected a constant of type ‘int’, got ‘vector’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:84: error: template argument 1 is invalid /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:93: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:97: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_iter’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:97: error: expected a constant of type ‘int’, got ‘vector’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:97: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_iter’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:97: error: expected a constant of type ‘int’, got ‘vector’ /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:97: error: template argument 1 is invalid /usr/local/include/boost/mpl/vector/aux_/iterator.hpp:97: error: template argument 2 is invalid In file included from /usr/local/include/boost/mpl/vector/vector0.hpp:24, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/clear.hpp:30: error: invalid use of template-name ‘std::vector’ without an argument list In file included from /usr/local/include/boost/mpl/vector/vector0.hpp:25, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/O1_size.hpp:31: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/O1_size.hpp:32: error: ‘template&lt;class _Tp, class _Alloc&gt; class std::vector’ used without template parameters /usr/local/include/boost/mpl/vector/aux_/O1_size.hpp:32: error: expected ‘{’ before ‘size’ /usr/local/include/boost/mpl/vector/aux_/O1_size.hpp:33: error: invalid type in declaration before ‘{’ token /usr/local/include/boost/mpl/vector/aux_/O1_size.hpp:34: error: ISO C++ forbids in-class initialization of non-const static member ‘size’ /usr/local/include/boost/mpl/vector/aux_/O1_size.hpp:34: error: template declaration of ‘int boost::mpl::size’ In file included from /usr/local/include/boost/mpl/vector/vector0.hpp:27, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/empty.hpp:30: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/empty.hpp:32: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/empty.hpp:32: error: expected template-argument before ‘::’ token /usr/local/include/boost/mpl/vector/aux_/empty.hpp:32: error: expected ‘&gt;’ before ‘::’ token /usr/local/include/boost/mpl/vector/aux_/empty.hpp:34: error: wrong number of template arguments (1, should be 2) /usr/local/include/boost/type_traits/is_same.hpp:29: error: provided for ‘template&lt;class T, class U&gt; struct boost::is_same’ /usr/local/include/boost/mpl/vector/aux_/empty.hpp:35: error: expected ‘::’ before ‘{’ token /usr/local/include/boost/mpl/vector/aux_/empty.hpp:35: error: expected class-name before ‘{’ token In file included from /usr/local/include/boost/mpl/vector/vector0.hpp:31, </p> <blockquote> <p> from /usr/local/include/boost/mpl/vector/vector10.hpp:18, from /usr/local/include/boost/mpl/vector/vector20.hpp:18, from /usr/local/include/boost/mpl/vector.hpp:36, from HTTP_Request.cpp:13: </p> </blockquote> <p> /usr/local/include/boost/mpl/vector/aux_/begin_end.hpp:30: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/begin_end.hpp:32: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_iter’ /usr/local/include/boost/mpl/vector/aux_/begin_end.hpp:32: error: expected a constant of type ‘int’, got ‘vector’ /usr/local/include/boost/mpl/vector/aux_/begin_end.hpp:39: error: invalid use of template-name ‘std::vector’ without an argument list /usr/local/include/boost/mpl/vector/aux_/begin_end.hpp:41: error: type/value mismatch at argument 1 in template parameter list for ‘template&lt;int &lt;anonymous&gt;, long int n_&gt; struct boost::mpl::v_iter’ /usr/local/include/boost/mpl/vector/aux_/begin_end.hpp:41: error: expected a constant of type ‘int’, got ‘vector’ /usr/local/include/boost/mpl/vector/aux_/begin_end.hpp:41: error: template argument 2 is invalid </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13059 Trac 1.4.3 anonymous Thu, 08 Jun 2017 10:01:27 GMT <link>https://svn.boost.org/trac10/ticket/13059#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13059#comment:1</guid> <description> <p> Compiler version used GCC version 4.4.7 </p> </description> <category>Ticket</category> </item> <item> <author>yogav2009@…</author> <pubDate>Fri, 09 Jun 2017 06:31:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13059#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13059#comment:2</guid> <description> <p> Sorry for inconvenience. Some where in my project some one has defined like "#define Vector std::vector". It has been rectified and boost::property_tree is working fine. Please ignore this. </p> </description> <category>Ticket</category> </item> </channel> </rss>