In file included from ./backend/frame.h:59:0, from backend/parser/express.cpp:42: ./base/colour.h:100:72: warning: friend declaration ‘pov_base::GenericRGBColour pov_base::ToRGBColour(const pov_base::GenericColour&)’ declares a non-template function [-Wnon-template-friend] friend GenericRGBColour ToRGBColour(const GenericColour& col); ^ ./base/colour.h:100:72: note: (if this is not what you intended, make sure the function template has already been declared and add <> after the function name here) ./base/colour.h:634:81: warning: friend declaration ‘pov_base::GenericRGBFTColour pov_base::ToRGBFTColour(const pov_base::GenericTransColour&)’ declares a non-template function [-Wnon-template-friend] friend GenericRGBFTColour ToRGBFTColour(const GenericTransColour& col); ^ ./base/colour.h:1223:73: warning: friend declaration ‘pov_base::GenericColour pov_base::ToMathColour(const pov_base::GenericRGBColour&)’ declares a non-template function [-Wnon-template-friend] friend GenericColour ToMathColour(const GenericRGBColour& col); ^ ./base/colour.h:1788:81: warning: friend declaration ‘pov_base::GenericTransColour pov_base::ToTransColour(const pov_base::GenericRGBFTColour&)’ declares a non-template function [-Wnon-template-friend] friend GenericTransColour ToTransColour(const GenericRGBFTColour& col); ^ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Blend_Map(int, int) [with MAP_T = pov::GenericNormalBlendMap]’: backend/parser/express.cpp:2866:49: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return GenericNormalBlendMapPtr(NULL); ^ backend/parser/express.cpp:2866:49: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:2866:49: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::GenericNormalBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Item_Into_Blend_List(int) [with MAP_T = pov::GenericPigmentBlendMap]’: backend/parser/express.cpp:3232:50: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return GenericPigmentBlendMapPtr(NULL); ^ backend/parser/express.cpp:3232:50: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3232:50: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘Y*’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘Y*’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘Y*’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::GenericPigmentBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Item_Into_Blend_List(int) [with MAP_T = pov::GenericNormalBlendMap]’: backend/parser/express.cpp:3246:49: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return GenericNormalBlendMapPtr(NULL); ^ backend/parser/express.cpp:3246:49: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3246:49: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::GenericNormalBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::PigmentBlendMap]’: backend/parser/express.cpp:3399:35: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return PigmentBlendMapPtr(NULL); ^ backend/parser/express.cpp:3399:35: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3399:35: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘Y*’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘Y*’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘Y*’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::PigmentBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::GenericNormalBlendMap]’: backend/parser/express.cpp:3406:41: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return GenericNormalBlendMapPtr(NULL); ^ backend/parser/express.cpp:3406:41: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3406:41: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::GenericNormalBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::SlopeBlendMap]’: backend/parser/express.cpp:3413:33: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return SlopeBlendMapPtr(NULL); ^ backend/parser/express.cpp:3413:33: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3413:33: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘Y*’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘Y*’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘Y*’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::SlopeBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::NormalBlendMap]’: backend/parser/express.cpp:3420:34: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return NormalBlendMapPtr(NULL); ^ backend/parser/express.cpp:3420:34: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3420:34: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘Y*’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘Y*’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘Y*’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::NormalBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::TextureBlendMap]’: backend/parser/express.cpp:3427:35: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return TextureBlendMapPtr(NULL); ^ backend/parser/express.cpp:3427:35: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3427:35: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘Y*’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘Y*’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘Y*’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::TextureBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::PigmentBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3131:82: required from here backend/parser/express.cpp:3105:38: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return shared_ptr(NULL); ^ backend/parser/express.cpp:3105:38: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3105:38: required from ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::PigmentBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’ backend/parser/express.cpp:3131:82: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::PigmentBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3131:82: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::PigmentBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::ColourBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3137:80: required from here backend/parser/express.cpp:3105:38: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return shared_ptr(NULL); ^ backend/parser/express.cpp:3105:38: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3105:38: required from ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::ColourBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’ backend/parser/express.cpp:3137:80: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::ColourBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3137:80: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::ColourBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::SlopeBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3151:78: required from here backend/parser/express.cpp:3105:38: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return shared_ptr(NULL); ^ backend/parser/express.cpp:3105:38: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3105:38: required from ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::SlopeBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’ backend/parser/express.cpp:3151:78: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::SlopeBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3151:78: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::SlopeBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::NormalBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3155:79: required from here backend/parser/express.cpp:3105:38: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return shared_ptr(NULL); ^ backend/parser/express.cpp:3105:38: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3105:38: required from ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::NormalBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’ backend/parser/express.cpp:3155:79: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::NormalBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3155:79: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::NormalBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::TextureBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3168:131: required from here backend/parser/express.cpp:3105:38: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return shared_ptr(NULL); ^ backend/parser/express.cpp:3105:38: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) 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:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3105:38: required from ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::TextureBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’ backend/parser/express.cpp:3168:131: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::TextureBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3168:131: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) 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:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::TextureBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ 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