backend/parser/express.cpp:2866:20: error: no matching conversion for functional-style cast from 'long' to 'GenericNormalBlendMapPtr' (aka 'shared_ptr') return GenericNormalBlendMapPtr(NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3105:16: error: no matching conversion for functional-style cast from 'long' to 'shared_ptr' return shared_ptr(NULL); ^~~~~~~~~~~~~~~~~~~~~~ backend/parser/express.cpp:3164:37: note: in instantiation of function template specialization 'pov::Parser::Parse_Blend_List' requested here template ColourBlendMapPtr Parser::Parse_Blend_List (int Count, ColourBlendMapConstPtr Def_Map, int Blend_Type); ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3105:16: error: no matching conversion for functional-style cast from 'long' to 'shared_ptr' return shared_ptr(NULL); ^~~~~~~~~~~~~~~~~~~~~~ backend/parser/express.cpp:3165:37: note: in instantiation of function template specialization 'pov::Parser::Parse_Blend_List' requested here template PigmentBlendMapPtr Parser::Parse_Blend_List (int Count, ColourBlendMapConstPtr Def_Map, int Blend_Type); ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3105:16: error: no matching conversion for functional-style cast from 'long' to 'shared_ptr' return shared_ptr(NULL); ^~~~~~~~~~~~~~~~~~~~~~ backend/parser/express.cpp:3166:37: note: in instantiation of function template specialization 'pov::Parser::Parse_Blend_List' requested here template SlopeBlendMapPtr Parser::Parse_Blend_List (int Count, ColourBlendMapConstPtr Def_Map, int Blend_Type); ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3105:16: error: no matching conversion for functional-style cast from 'long' to 'shared_ptr' return shared_ptr(NULL); ^~~~~~~~~~~~~~~~~~~~~~ backend/parser/express.cpp:3167:37: note: in instantiation of function template specialization 'pov::Parser::Parse_Blend_List' requested here template NormalBlendMapPtr Parser::Parse_Blend_List (int Count, ColourBlendMapConstPtr Def_Map, int Blend_Type); ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3105:16: error: no matching conversion for functional-style cast from 'long' to 'shared_ptr' return shared_ptr(NULL); ^~~~~~~~~~~~~~~~~~~~~~ backend/parser/express.cpp:3168:37: note: in instantiation of function template specialization 'pov::Parser::Parse_Blend_List' requested here template TextureBlendMapPtr Parser::Parse_Blend_List (int Count, ColourBlendMapConstPtr Def_Map, int Blend_Type); ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3232:20: error: no matching conversion for functional-style cast from 'long' to 'GenericPigmentBlendMapPtr' (aka 'shared_ptr') return GenericPigmentBlendMapPtr(NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3246:20: error: no matching conversion for functional-style cast from 'long' to 'GenericNormalBlendMapPtr' (aka 'shared_ptr') return GenericNormalBlendMapPtr(NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3399:12: error: no matching conversion for functional-style cast from 'long' to 'PigmentBlendMapPtr' (aka 'shared_ptr') return PigmentBlendMapPtr(NULL); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3406:12: error: no matching conversion for functional-style cast from 'long' to 'GenericNormalBlendMapPtr' (aka 'shared_ptr') return GenericNormalBlendMapPtr(NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3413:12: error: no matching conversion for functional-style cast from 'long' to 'SlopeBlendMapPtr' (aka 'shared_ptr') return SlopeBlendMapPtr(NULL); ^~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3420:12: error: no matching conversion for functional-style cast from 'long' to 'NormalBlendMapPtr' (aka 'shared_ptr') return NormalBlendMapPtr(NULL); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ backend/parser/express.cpp:3427:12: error: no matching conversion for functional-style cast from 'long' to 'TextureBlendMapPtr' (aka 'shared_ptr') return TextureBlendMapPtr(NULL); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const boost::shared_ptr' for 1st argument template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: candidate template ignored: could not match 'Y *' against 'long' explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: candidate template ignored: could not match 'weak_ptr' against 'long' explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: candidate template ignored: could not match 'shared_ptr' against 'long' shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: candidate template ignored: could not match 'auto_ptr' against 'long' explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: candidate template ignored: substitution failure [with Ap = long]: no type named 'type' in 'boost::detail::sp_enable_if_auto_ptr' explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ ~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: candidate constructor template not viable: requires 3 arguments, but 1 was provided template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ 13 errors generated. make[2]: *** [backend/parser/express.o] Erreur 1 make[2]: La cible « all » n'a pas pu être refabriquée à cause d'erreurs. make[2]: *** Pas de règle pour fabriquer la cible « ../source/libpovray.a », nécessaire pour « povray ». make[2]: La cible « all » n'a pas pu être refabriquée à cause d'erreurs. make[1]: *** [all-recursive] Erreur 1 make: *** [all] Erreur 2