mapnik/mapnik — Issue #1098: json/feature_grammar.hpp fails to compile with msvc 2010
Author: springmeyer
Created: 2012-02-23 18:13:22+00:00
State: open

```

Building Mapnik on NT ...
dependecies dir: c:\dev2\
lib_dir_schema=lib
...patience...
...patience...
...patience...
...patience...
...found 26785 targets...
...updating 38 targets...
compile-c-c++ build\src\msvc-10.0\release\threading-multi\json\feature_collection_parser.obj
feature_collection_parser.cpp
c:\dev2\boost-vc100\include\boost-1_48\boost/fusion/container/vector/detail/preprocessed/vector10.hpp(122) : error C2665: 'boost::fusion::vector_data2::vector_data2' : none of the 3 overloads could convert all the argument types
with
[
T0=boost::phoenix::value,
T1=boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>
]
c:\dev2\boost-vc100\include\boost-1_48\boost/fusion/container/vector/detail/preprocessed/vector10.hpp(103): could be 'boost::fusion::vector_data2::vector_data2(const boost::phoenix::value &,const boost::phoenix::composite &)'
with
[
T0=boost::phoenix::value,
T1=boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,
T=mapnik::context_ptr,
EvalPolicy=boost::phoenix::detail::function_eval<0>,
EvalTuple=boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>
]
while trying to match the argument list '(const boost::phoenix::composite, const boost::mpl::void_)'
with
[
EvalPolicy=boost::phoenix::detail::new_eval,
EvalTuple=boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>
]
c:\dev2\boost-vc100\include\boost-1_48\boost/fusion/container/vector/detail/preprocessed/vector10.hpp(148) : see reference to function template instantiation 'boost::fusion::vector_data2 boost::fusion::vector_data2::init_from_sequence(const Sequence &)' being compiled
with
[
T0=boost::phoenix::value,
T1=boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,
Sequence=const boost::phoenix::composite,boost::fusion::vector,boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>
]
c:\dev2\boost-vc100\include\boost-1_48\boost/fusion/container/vector/detail/preprocessed/vvector10.hpp(38) : see reference to function template instantiation 'boost::fusion::vector2::vector2(const Sequence &)' being compiled
with
[
T0=boost::phoenix::value,
T1=boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,
Sequence=const boost::phoenix::composite,boost::fusion::vector,boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>
]
c:\dev2\boost-vc100\include\boost-1_48\boost/spirit/home/phoenix/core/composite.hpp(71) : see reference to function template instantiation 'boost::fusion::vector::vector(const Sequence &)' being compiled
with
[
T0=boost::phoenix::value,
T1=boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,
T2=boost::fusion::void_,
T3=boost::fusion::void_,
T4=boost::fusion::void_,
T5=boost::fusion::void_,
T6=boost::fusion::void_,
T7=boost::fusion::void_,
T8=boost::fusion::void_,
T9=boost::fusion::void_,
U0=const boost::phoenix::composite,boost::fusion::vector,boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,
Sequence=const boost::phoenix::composite,boost::fusion::vector,boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>
]
c:\dev2\boost-vc100\include\boost-1_48\boost/fusion/container/vector/detail/preprocessed/vvector10.hpp(38) : see reference to function template instantiation 'boost::phoenix::composite::composite,boost::fusion::vector>>(U0 &)' being compiled
with
[
EvalPolicy=boost::phoenix::detail::new_eval,
EvalTuple=boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>,
T=mapnik::feature_ptr,
T0=boost::phoenix::composite,boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,
T1=boost::fusion::void_,
T2=boost::fusion::void_,
T3=boost::fusion::void_,
T4=boost::fusion::void_,
T5=boost::fusion::void_,
T6=boost::fusion::void_,
T7=boost::fusion::void_,
T8=boost::fusion::void_,
T9=boost::fusion::void_,
U0=const boost::phoenix::composite,boost::fusion::vector,boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xlocnum(343) : see reference to function template instantiation 'boost::fusion::vector::vector>(const Sequence &)' being compiled
with
[
T0=boost::phoenix::composite,boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,
T1=boost::fusion::void_,
T2=boost::fusion::void_,
T3=boost::fusion::void_,
T4=boost::fusion::void_,
T5=boost::fusion::void_,
T6=boost::fusion::void_,
T7=boost::fusion::void_,
T8=boost::fusion::void_,
T9=boost::fusion::void_,
EvalPolicy=boost::phoenix::detail::construct_eval,
EvalTuple=boost::fusion::vector,boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>,
Sequence=boost::phoenix::composite,boost::fusion::vector,boost::fusion::vector,boost::phoenix::composite,boost::fusion::vector,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>
]
c:\dev2\boost-vc100\include\boost-1_48\boost/spirit/home/phoenix/core/compose.hpp(87) : see reference to class template instantiation 'boost::phoenix::actor' being compiled
with
[
Eval=boost::phoenix::value>
]
c:\dev2\boost-vc100\include\boost-1_48\boost/spirit/home/support/terminal_expression.hpp(35) : see reference to function template instantiation 'boost::phoenix::actor boost::phoenix::compose,F,A0>(const T0 &,const T1 &)' being compiled
with
[
Eval=boost::phoenix::composite,boost::fusion::vector>,boost::phoenix::composite,boost::phoenix::value,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,
F=boost::spirit::terminal,
A0=boost::phoenix::actor,boost::phoenix::value,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>>,
T0=boost::spirit::terminal,
T1=boost::phoenix::actor,boost::phoenix::value,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>>
]
c:\dev2\boost-vc100\include\boost-1_48\boost/spirit/home/support/terminal_expression.hpp(33) : while compiling class template member function 'boost::phoenix::actor boost::phoenix::detail::expression::function_eval::make(F,const A0 &)'
with
[
Eval=boost::phoenix::composite,boost::fusion::vector>,boost::phoenix::composite,boost::phoenix::value,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>,
F=boost::spirit::terminal,
A0=boost::phoenix::actor,boost::phoenix::value,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>>
]
c:\dev2\boost-vc100\include\boost-1_48\boost/spirit/home/support/terminal.hpp(99) : see reference to class template instantiation 'boost::phoenix::detail::expression::function_eval' being compiled
with
[
F=boost::spirit::terminal,
A0=boost::phoenix::actor,boost::phoenix::value,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>>
]
c:\dev2\boost-vc100\include\boost-1_48\boost/spirit/home/support/terminal.hpp(306) : see reference to class template instantiation 'boost::spirit::make_lazy' being compiled
with
[
F=boost::spirit::terminal,
A0=boost::phoenix::actor,boost::phoenix::value,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>>,
A1=boost::spirit::detail::to_lazy_arg::type,
A2=boost::spirit::detail::to_lazy_arg::type
]
c:\dev2\boost-vc100\include\boost-1_48\boost/spirit/home/support/terminal.hpp(322) : see reference to class template instantiation 'boost::spirit::terminal::result_helper' being compiled
with
[
Terminal=boost::spirit::tag::eps,
Lazy=true,
A0=boost::phoenix::actor,boost::phoenix::value,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>>,
A1=boost::spirit::unused_type,
A2=boost::spirit::unused_type
]
c:\dev2\mapnik\include\mapnik/json/feature_grammar.hpp(269) : see reference to class template instantiation 'boost::spirit::terminal::result' being compiled
with
[
Terminal=boost::spirit::tag::eps,
A0=boost::phoenix::actor,boost::phoenix::value,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>>>,
A1=boost::spirit::unused_type,
A2=boost::spirit::unused_type
]
c:\dev2\mapnik\include\mapnik/json/feature_grammar.hpp(138) : while compiling class template member function 'mapnik::json::feature_grammar::feature_grammar(const mapnik::transcoder &)'
with
[
Iterator=std::_String_const_iterator,std::allocator>,
FeatureType=mapnik::json::feature_collection_parser,std::allocator>>::feature_type
]
c:\dev2\mapnik\include\mapnik/json/feature_collection_grammar.hpp(121) : see reference to class template instantiation 'mapnik::json::feature_grammar' being compiled
with
[
Iterator=std::_String_const_iterator,std::allocator>,
FeatureType=mapnik::json::feature_collection_parser,std::allocator>>::feature_type
]
c:\dev2\mapnik\src\json\feature_collection_parser.cpp(38) : see reference to class template instantiation 'mapnik::json::feature_collection_grammar' being compiled
with
[
Iterator=std::_String_const_iterator,std::allocator>,
FeatureType=mapnik::json::feature_collection_parser,std::allocator>>::feature_type
]
c:\dev2\mapnik\src\json\feature_collection_parser.cpp(38) : while compiling class template member function 'mapnik::json::feature_collection_parser::feature_collection_parser(const mapnik::context_ptr &,const mapnik::transcoder &)'
with
[
Iterator=std::_String_const_iterator,std::allocator>
]
c:\dev2\mapnik\src\json\feature_collection_parser.cpp(58) : see reference to class template instantiation 'mapnik::json::feature_collection_parser' being compiled
with
[
Iterator=std::_String_const_iterator,std::allocator>
]

call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo @"build\src\msvc-10.0\release\threading-multi\json\feature_collection_parser.obj.rsp"

...failed compile-c-c++ build\src\msvc-10.0\release\threading-multi\json\feature_collection_parser.obj...
...skipped mapnik.dll for lack of json\feature_collection_parser.obj...
...skipped mapnik.lib for lack of json\feature_collection_parser.obj...
...skipped mapnik.dll for lack of mapnik.dll...
...skipped shapeindex.exe for lack of mapnik.lib...
...skipped shapeindex.exe for lack of shapeindex.exe...
...skipped pgsql2sqlite.exe for lack of mapnik.lib...
...skipped pgsql2sqlite.exe for lack of pgsql2sqlite.exe...
...skipped shape.input for lack of mapnik.lib...
...skipped shape.lib for lack of mapnik.lib...
...skipped shape.input for lack of shape.input...
...skipped shape.lib for lack of shape.lib...
...skipped csv.input for lack of mapnik.lib...
...skipped csv.lib for lack of mapnik.lib...
...skipped csv.input for lack of csv.input...
...skipped csv.lib for lack of csv.lib...
...skipped sqlite.input for lack of mapnik.lib...
...skipped sqlite.lib for lack of mapnik.lib...
...skipped sqlite.input for lack of sqlite.input...
...skipped sqlite.lib for lack of sqlite.lib...
...skipped raster.input for lack of mapnik.lib...
...skipped raster.lib for lack of mapnik.lib...
...skipped raster.input for lack of raster.input...
...skipped raster.lib for lack of raster.lib...
...skipped postgis.input for lack of mapnik.lib...
...skipped postgis.lib for lack of mapnik.lib...
...skipped postgis.input for lack of postgis.input...
...skipped postgis.lib for lack of postgis.lib...
...skipped gdal.input for lack of mapnik.lib...
...skipped gdal.lib for lack of mapnik.lib...
...skipped gdal.input for lack of gdal.input...
...skipped gdal.lib for lack of gdal.lib...
...skipped ogr.input for lack of mapnik.lib...
...skipped ogr.lib for lack of mapnik.lib...
...skipped ogr.input for lack of ogr.input...
...skipped ogr.lib for lack of ogr.lib...
...skipped rundemo.exe for lack of mapnik.lib...
...skipped rundemo.exe for lack of rundemo.exe...
...failed updating 1 target...
...skipped 37 targets...
```