backend/pattern/pattern.cpp: In member function ‘void pov::BlendMap::Search(double, const Entry*&, const Entry*&, double&, double&) const’: backend/pattern/pattern.cpp:919:9: error: need ‘typename’ before ‘std::vector >::const_iterator’ because ‘std::vector >’ is a dependent scope vector::const_iterator iP; ^ backend/pattern/pattern.cpp:919:39: error: expected ‘;’ before ‘iP’ vector::const_iterator iP; ^ backend/pattern/pattern.cpp:920:9: error: need ‘typename’ before ‘std::vector >::const_iterator’ because ‘std::vector >’ is a dependent scope vector::const_iterator iN; ^ backend/pattern/pattern.cpp:920:39: error: expected ‘;’ before ‘iN’ vector::const_iterator iN; ^ backend/pattern/pattern.cpp:922:9: error: ‘iP’ was not declared in this scope iP = iN = Blend_Map_Entries.begin(); ^ backend/pattern/pattern.cpp:922:14: error: ‘iN’ was not declared in this scope iP = iN = Blend_Map_Entries.begin(); ^ In file included from /usr/include/_G_config.h:15:0, from /usr/include/libio.h:31, from /usr/include/stdio.h:74, from /usr/include/c++/4.8/cstdio:42, from /usr/include/boost/lexical_cast.hpp:33, from /usr/include/boost/date_time/string_parse_tree.hpp:13, from /usr/include/boost/date_time/period_parser.hpp:14, from /usr/include/boost/date_time/date_facet.hpp:23, from /usr/include/boost/date_time/gregorian/gregorian_io.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian.hpp:31, from /usr/include/boost/date_time/posix_time/time_formatters.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:24, from backend/parser/express.cpp:39: backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Blend_Map(int, int) [with MAP_T = pov::GenericPigmentBlendMap]’: backend/parser/express.cpp:2851:20: error: could not convert ‘0l’ from ‘long int’ to ‘pov::GenericPigmentBlendMapPtr {aka boost::shared_ptr}’ return NULL; ^ 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:2865:20: error: could not convert ‘0l’ from ‘long int’ to ‘pov::GenericNormalBlendMapPtr {aka boost::shared_ptr}’ return NULL; ^ 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:3231:20: error: could not convert ‘0l’ from ‘long int’ to ‘pov::GenericPigmentBlendMapPtr {aka boost::shared_ptr}’ return NULL; ^ 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:3245:20: error: could not convert ‘0l’ from ‘long int’ to ‘pov::GenericNormalBlendMapPtr {aka boost::shared_ptr}’ return NULL; ^ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::ColourBlendMap]’: backend/parser/express.cpp:3285:29: error: conversion from ‘long int’ to non-scalar type ‘pov::ColourBlendMapPtr {aka boost::shared_ptr}’ requested ColourBlendMapPtr New = NULL; ^ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::PigmentBlendMap]’: backend/parser/express.cpp:3398:12: error: could not convert ‘0l’ from ‘long int’ to ‘pov::PigmentBlendMapPtr {aka boost::shared_ptr}’ return NULL; ^ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::GenericNormalBlendMap]’: backend/parser/express.cpp:3405:12: error: could not convert ‘0l’ from ‘long int’ to ‘pov::GenericNormalBlendMapPtr {aka boost::shared_ptr}’ return NULL; ^ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::SlopeBlendMap]’: backend/parser/express.cpp:3412:12: error: could not convert ‘0l’ from ‘long int’ to ‘pov::SlopeBlendMapPtr {aka boost::shared_ptr}’ return NULL; ^ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::NormalBlendMap]’: backend/parser/express.cpp:3419:12: error: could not convert ‘0l’ from ‘long int’ to ‘pov::NormalBlendMapPtr {aka boost::shared_ptr}’ return NULL; ^ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::TextureBlendMap]’: backend/parser/express.cpp:3426:12: error: could not convert ‘0l’ from ‘long int’ to ‘pov::TextureBlendMapPtr {aka boost::shared_ptr}’ return NULL; ^ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_Map(int, int) [with MAP_T = pov::ColourBlendMap]’: backend/parser/express.cpp:2845:73: required from here backend/parser/express.cpp:2814:79: error: dependent-name ‘MAP_T:: Data’ is parsed as a non-type, but instantiation yields a type Parse_BlendMapData (Blend_Type, Temp_Ent.Vals); ^ backend/parser/express.cpp:2814:79: note: say ‘typename MAP_T:: Data’ if a type is meant backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_Map(int, int) [with MAP_T = pov::PigmentBlendMap]’: backend/parser/express.cpp:2848:74: required from here backend/parser/express.cpp:2814:79: error: dependent-name ‘MAP_T:: Data’ is parsed as a non-type, but instantiation yields a type backend/parser/express.cpp:2814:79: note: say ‘typename MAP_T:: Data’ if a type is meant backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_Map(int, int) [with MAP_T = pov::SlopeBlendMap]’: backend/parser/express.cpp:2860:72: required from here backend/parser/express.cpp:2814:79: error: dependent-name ‘MAP_T:: Data’ is parsed as a non-type, but instantiation yields a type backend/parser/express.cpp:2814:79: note: say ‘typename MAP_T:: Data’ if a type is meant backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_Map(int, int) [with MAP_T = pov::NormalBlendMap]’: backend/parser/express.cpp:2862:73: required from here backend/parser/express.cpp:2814:79: error: dependent-name ‘MAP_T:: Data’ is parsed as a non-type, but instantiation yields a type backend/parser/express.cpp:2814:79: note: say ‘typename MAP_T:: Data’ if a type is meant backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_Map(int, int) [with MAP_T = pov::TextureBlendMap]’: backend/parser/express.cpp:2873:101: required from here backend/parser/express.cpp:2814:79: error: dependent-name ‘MAP_T:: Data’ is parsed as a non-type, but instantiation yields a type backend/parser/express.cpp:2814:79: note: say ‘typename MAP_T:: Data’ if a type is meant 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:3130:82: required from here backend/parser/express.cpp:3104:21: error: could not convert ‘0l’ from ‘long int’ to ‘boost::shared_ptr’ return (NULL); ^ 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:3136:80: required from here backend/parser/express.cpp:3104:21: error: could not convert ‘0l’ from ‘long int’ to ‘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:3150:78: required from here backend/parser/express.cpp:3104:21: error: could not convert ‘0l’ from ‘long int’ to ‘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:3154:79: required from here backend/parser/express.cpp:3104:21: error: could not convert ‘0l’ from ‘long int’ to ‘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:3167:131: required from here backend/parser/express.cpp:3104:21: error: could not convert ‘0l’ from ‘long int’ to ‘boost::shared_ptr’ backend/pattern/pattern.cpp: In instantiation of ‘void pov::BlendMap::Search(double, const Entry*&, const Entry*&, double&, double&) const [with DATA_T = pov_base::GenericTransColour; pov::BlendMap::EntryConstPtr = const pov::BlendMapEntry >*; pov::BlendMap::Entry = pov::BlendMapEntry >]’: backend/pattern/pattern.cpp:946:140: required from here backend/pattern/pattern.cpp:919:9: error: dependent-name ‘std::vector >::const_iterator’ is parsed as a non-type, but instantiation yields a type vector::const_iterator iP; ^ backend/pattern/pattern.cpp:919:9: note: say ‘typename std::vector >::const_iterator’ if a type is meant backend/pattern/pattern.cpp:920:9: error: dependent-name ‘std::vector >::const_iterator’ is parsed as a non-type, but instantiation yields a type vector::const_iterator iN; ^ backend/pattern/pattern.cpp:920:9: note: say ‘typename std::vector >::const_iterator’ if a type is meant backend/pattern/pattern.cpp: In instantiation of ‘void pov::BlendMap::Search(double, const Entry*&, const Entry*&, double&, double&) const [with DATA_T = pov::Pigment_Struct*; pov::BlendMap::EntryConstPtr = const pov::BlendMapEntry*; pov::BlendMap::Entry = pov::BlendMapEntry]’: backend/pattern/pattern.cpp:947:140: required from here backend/pattern/pattern.cpp:919:9: error: dependent-name ‘std::vector >::const_iterator’ is parsed as a non-type, but instantiation yields a type vector::const_iterator iP; ^ backend/pattern/pattern.cpp:919:9: note: say ‘typename std::vector >::const_iterator’ if a type is meant backend/pattern/pattern.cpp:920:9: error: dependent-name ‘std::vector >::const_iterator’ is parsed as a non-type, but instantiation yields a type vector::const_iterator iN; ^ backend/pattern/pattern.cpp:920:9: note: say ‘typename std::vector >::const_iterator’ if a type is meant backend/pattern/pattern.cpp: In instantiation of ‘void pov::BlendMap::Search(double, const Entry*&, const Entry*&, double&, double&) const [with DATA_T = pov::GenericVector2d; pov::BlendMap::EntryConstPtr = const pov::BlendMapEntry >*; pov::BlendMap::Entry = pov::BlendMapEntry >]’: backend/pattern/pattern.cpp:948:140: required from here backend/pattern/pattern.cpp:919:9: error: dependent-name ‘std::vector >::const_iterator’ is parsed as a non-type, but instantiation yields a type vector::const_iterator iP; ^ backend/pattern/pattern.cpp:919:9: note: say ‘typename std::vector >::const_iterator’ if a type is meant backend/pattern/pattern.cpp:920:9: error: dependent-name ‘std::vector >::const_iterator’ is parsed as a non-type, but instantiation yields a type vector::const_iterator iN; ^ backend/pattern/pattern.cpp:920:9: note: say ‘typename std::vector >::const_iterator’ if a type is meant backend/pattern/pattern.cpp: In instantiation of ‘void pov::BlendMap::Search(double, const Entry*&, const Entry*&, double&, double&) const [with DATA_T = pov::Tnormal_Struct*; pov::BlendMap::EntryConstPtr = const pov::BlendMapEntry*; pov::BlendMap::Entry = pov::BlendMapEntry]’: backend/pattern/pattern.cpp:949:140: required from here backend/pattern/pattern.cpp:919:9: error: dependent-name ‘std::vector >::const_iterator’ is parsed as a non-type, but instantiation yields a type vector::const_iterator iP; ^ backend/pattern/pattern.cpp:919:9: note: say ‘typename std::vector >::const_iterator’ if a type is meant backend/pattern/pattern.cpp:920:9: error: dependent-name ‘std::vector >::const_iterator’ is parsed as a non-type, but instantiation yields a type vector::const_iterator iN; ^ backend/pattern/pattern.cpp:920:9: note: say ‘typename std::vector >::const_iterator’ if a type is meant backend/pattern/pattern.cpp: In instantiation of ‘void pov::BlendMap::Search(double, const Entry*&, const Entry*&, double&, double&) const [with DATA_T = pov::Texture_Struct*; pov::BlendMap::EntryConstPtr = const pov::BlendMapEntry*; pov::BlendMap::Entry = pov::BlendMapEntry]’: backend/pattern/pattern.cpp:950:140: required from here backend/pattern/pattern.cpp:919:9: error: dependent-name ‘std::vector >::const_iterator’ is parsed as a non-type, but instantiation yields a type vector::const_iterator iP; ^ backend/pattern/pattern.cpp:919:9: note: say ‘typename std::vector >::const_iterator’ if a type is meant backend/pattern/pattern.cpp:920:9: error: dependent-name ‘std::vector >::const_iterator’ is parsed as a non-type, but instantiation yields a type vector::const_iterator iN; ^ backend/pattern/pattern.cpp:920:9: note: say ‘typename std::vector >::const_iterator’ if a type is meant In file included from ./backend/frame.h:59:0, from backend/render/trace.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); ^ make[2]: *** [backend/pattern/pattern.o] Erreur 1 make[2]: *** [backend/parser/express.o] Erreur 1 ./base/colour.h: In instantiation of ‘T pov_base::GenericColour::MaxAbs() const [with T = float]’: ./base/colour.h:1422:27: required from ‘T pov_base::GenericColour::WeightMaxAbs() const [with T = float]’ backend/render/trace.cpp:999:34: required from here ./base/colour.h:1456:54: error: no matching function for call to ‘max(float&, double)’ result = max(result, fabs(mColour[i])); ^ ./base/colour.h:1456:54: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/string:40, from /usr/include/boost/thread/exceptions.hpp:20, from /usr/include/boost/thread/pthread/thread_data.hpp:10, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from backend/render/trace.cpp:36: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./backend/frame.h:59:0, from backend/render/trace.cpp:42: ./base/colour.h:1456:54: note: deduced conflicting types for parameter ‘const _Tp’ (‘float’ and ‘double’) result = max(result, fabs(mColour[i])); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/string:40, from /usr/include/boost/thread/exceptions.hpp:20, from /usr/include/boost/thread/pthread/thread_data.hpp:10, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from backend/render/trace.cpp:36: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./backend/frame.h:59:0, from backend/render/trace.cpp:42: ./base/colour.h:1456:54: note: deduced conflicting types for parameter ‘const _Tp’ (‘float’ and ‘double’) result = max(result, fabs(mColour[i])); ^ make[2]: *** [backend/render/trace.o] Erreur 1 In file included from ./backend/frame.h:59:0, from backend/interior/media.cpp:39: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/lighting/point.cpp:37: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/render/tracetask.cpp:41: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/lighting/rad_data.cpp:44: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/lighting/photonstrategytask.cpp:37: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/interior/interior.cpp:35: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/lighting/subsurface.cpp:37: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/lighting/photonestimationtask.cpp:37: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/lighting/radiosity.cpp:65: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/lighting/photonshootingstrategy.cpp:35: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/lighting/photons.cpp:39: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/bounding/bcyl.cpp:36: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/lighting/photonsortingtask.cpp:37: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/bounding/bsphere.cpp:35: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/lighting/photonshootingtask.cpp:39: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/bounding/bbox.cpp:43: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/bounding/boundingtask.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/lighting/photonsortingtask.cpp: In member function ‘int pov::PhotonSortingTask::load()’: backend/lighting/photonsortingtask.cpp:340:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&numph, sizeof(numph),1,f); ^ backend/lighting/photonsortingtask.cpp:376:35: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&numph, sizeof(numph),1,f); ^ In file included from ./backend/frame.h:59:0, from backend/shape/lathe.cpp:120: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/poly.cpp:38: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/triangle.cpp:35: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/spheres.cpp:35: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/cones.cpp:37: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/boxes.cpp:39: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/torus.cpp:47: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/planes.cpp:35: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/fractal.cpp:37: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/mesh.cpp:59: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/prism.cpp:114: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/discs.cpp:37: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/csg.cpp:35: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/truetype.cpp:37: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/blob.cpp:98: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/isosurf.cpp:43: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/quadrics.cpp:35: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/sphsweep.cpp:78: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/sor.cpp:97: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/fpmetric.cpp:40: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/hfield.cpp:62: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/bezier.cpp:38: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/super.cpp:67: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/shape/polygon.cpp:60: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/support/bsptree.cpp:40: ./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/support/bsptree.cpp: In member function ‘void pov::BSPTree::ReadRecursive(const pov::BSPTree::Progress&, FILE*, unsigned int, unsigned int, unsigned int)’: backend/support/bsptree.cpp:844:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "\n"); ^ backend/support/bsptree.cpp:862:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "\n"); ^ In file included from ./backend/frame.h:59:0, from backend/shape/ovus.cpp:67: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/support/statistics.cpp:36: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/support/randomsequences.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); ^ In file included from ./backend/frame.h:59:0, from backend/support/msgutil.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); ^ In file included from ./backend/frame.h:59:0, from backend/support/taskqueue.cpp:36: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/support/imageutil.cpp:40: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/support/fileutil.cpp:45: ./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) In file included from ./backend/frame.h:59:0, from backend/support/octree.cpp:60: ./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: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); ^ ./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); ^ In file included from ./backend/frame.h:59:0, from backend/support/jitter.cpp:33: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/support/task.cpp:39: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/texture/pigment.cpp:44: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/texture/texture.cpp:50: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/colour/colutils.cpp:38: ./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/texture/pigment.cpp: In function ‘pov::PIGMENT* pov::Create_Pigment()’: backend/texture/pigment.cpp:117:21: error: no match for ‘operator=’ (operand types are ‘boost::shared_ptr’ and ‘long int’) New->Blend_Map = NULL; ^ backend/texture/pigment.cpp:117:21: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/pigment.cpp:44: /usr/include/boost/smart_ptr/shared_ptr.hpp:505:18: note: boost::shared_ptr& boost::shared_ptr::operator=(const boost::shared_ptr&) [with T = pov::GenericPigmentBlendMap] shared_ptr & operator=( shared_ptr const & r ) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:18: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ /usr/include/boost/smart_ptr/shared_ptr.hpp:514:18: note: template boost::shared_ptr& boost::shared_ptr::operator=(const boost::shared_ptr&) [with Y = Y; T = pov::GenericPigmentBlendMap] shared_ptr & operator=(shared_ptr const & r) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:514:18: note: template argument deduction/substitution failed: backend/texture/pigment.cpp:117:21: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ New->Blend_Map = NULL; ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/pigment.cpp:44: /usr/include/boost/smart_ptr/shared_ptr.hpp:525:18: note: template boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>&) [with Y = Y; T = pov::GenericPigmentBlendMap] shared_ptr & operator=( std::auto_ptr & r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:525:18: note: template argument deduction/substitution failed: backend/texture/pigment.cpp:117:21: note: mismatched types ‘std::auto_ptr’ and ‘long int’ New->Blend_Map = NULL; ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/pigment.cpp:44: /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: note: template typename boost::detail::sp_enable_if_auto_ptr&>::type boost::shared_ptr::operator=(Ap) [with Ap = Ap; T = pov::GenericPigmentBlendMap] typename boost::detail::sp_enable_if_auto_ptr< Ap, shared_ptr & >::type operator=( Ap r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template typename boost::detail::sp_enable_if_auto_ptr&>::type boost::shared_ptr::operator=(Ap) [with Ap = Ap; T = pov::GenericPigmentBlendMap] [with Ap = long int]’: backend/texture/pigment.cpp:117:21: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr&>’ backend/texture/pigment.cpp:121:20: error: no match for ‘operator=’ (operand types are ‘boost::shared_ptr’ and ‘long int’) New->Blend_Map = NULL; ^ backend/texture/pigment.cpp:121:20: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/pigment.cpp:44: /usr/include/boost/smart_ptr/shared_ptr.hpp:505:18: note: boost::shared_ptr& boost::shared_ptr::operator=(const boost::shared_ptr&) [with T = pov::GenericPigmentBlendMap] shared_ptr & operator=( shared_ptr const & r ) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:18: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ /usr/include/boost/smart_ptr/shared_ptr.hpp:514:18: note: template boost::shared_ptr& boost::shared_ptr::operator=(const boost::shared_ptr&) [with Y = Y; T = pov::GenericPigmentBlendMap] shared_ptr & operator=(shared_ptr const & r) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:514:18: note: template argument deduction/substitution failed: backend/texture/pigment.cpp:121:20: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ New->Blend_Map = NULL; ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/pigment.cpp:44: /usr/include/boost/smart_ptr/shared_ptr.hpp:525:18: note: template boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>&) [with Y = Y; T = pov::GenericPigmentBlendMap] shared_ptr & operator=( std::auto_ptr & r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:525:18: note: template argument deduction/substitution failed: backend/texture/pigment.cpp:121:20: note: mismatched types ‘std::auto_ptr’ and ‘long int’ New->Blend_Map = NULL; ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/pigment.cpp:44: /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: note: template typename boost::detail::sp_enable_if_auto_ptr&>::type boost::shared_ptr::operator=(Ap) [with Ap = Ap; T = pov::GenericPigmentBlendMap] typename boost::detail::sp_enable_if_auto_ptr< Ap, shared_ptr & >::type operator=( Ap r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template typename boost::detail::sp_enable_if_auto_ptr&>::type boost::shared_ptr::operator=(Ap) [with Ap = Ap; T = pov::GenericPigmentBlendMap] [with Ap = long int]’: backend/texture/pigment.cpp:121:20: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr&>’ In file included from ./backend/frame.h:59:0, from backend/colour/spectral.cpp:37: ./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); ^ backend/texture/texture.cpp: In function ‘pov::TEXTURE* pov::Create_Texture()’: backend/texture/texture.cpp:1266:21: error: no match for ‘operator=’ (operand types are ‘pov::TextureBlendMapPtr {aka boost::shared_ptr}’ and ‘long int’) New->Blend_Map = NULL; ^ backend/texture/texture.cpp:1266:21: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/texture.cpp:50: /usr/include/boost/smart_ptr/shared_ptr.hpp:505:18: note: boost::shared_ptr& boost::shared_ptr::operator=(const boost::shared_ptr&) [with T = pov::TextureBlendMap] shared_ptr & operator=( shared_ptr const & r ) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:18: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ /usr/include/boost/smart_ptr/shared_ptr.hpp:514:18: note: template boost::shared_ptr& boost::shared_ptr::operator=(const boost::shared_ptr&) [with Y = Y; T = pov::TextureBlendMap] shared_ptr & operator=(shared_ptr const & r) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:514:18: note: template argument deduction/substitution failed: backend/texture/texture.cpp:1266:21: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ New->Blend_Map = NULL; ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/texture.cpp:50: /usr/include/boost/smart_ptr/shared_ptr.hpp:525:18: note: template boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>&) [with Y = Y; T = pov::TextureBlendMap] shared_ptr & operator=( std::auto_ptr & r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:525:18: note: template argument deduction/substitution failed: backend/texture/texture.cpp:1266:21: note: mismatched types ‘std::auto_ptr’ and ‘long int’ New->Blend_Map = NULL; ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/texture.cpp:50: /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: note: template typename boost::detail::sp_enable_if_auto_ptr&>::type boost::shared_ptr::operator=(Ap) [with Ap = Ap; T = pov::TextureBlendMap] typename boost::detail::sp_enable_if_auto_ptr< Ap, shared_ptr & >::type operator=( Ap r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template typename boost::detail::sp_enable_if_auto_ptr&>::type boost::shared_ptr::operator=(Ap) [with Ap = Ap; T = pov::TextureBlendMap] [with Ap = long int]’: backend/texture/texture.cpp:1266:21: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr&>’ ./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); ^ In file included from ./backend/frame.h:59:0, from backend/texture/normal.cpp:44: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/math/chi2.cpp:48: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/colour/colour_old.cpp:39: ./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); ^ make[2]: *** [backend/texture/texture.o] Erreur 1 make[2]: *** [backend/texture/pigment.o] Erreur 1 In file included from ./backend/frame.h:59:0, from backend/math/hcmplx.cpp:37: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/math/mathutil.cpp:39: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/math/splines.cpp:35: ./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/texture/normal.cpp: In function ‘pov::TNORMAL* pov::Create_Tnormal()’: backend/texture/normal.cpp:593:21: error: no match for ‘operator=’ (operand types are ‘pov::GenericNormalBlendMapPtr {aka boost::shared_ptr}’ and ‘long int’) New->Blend_Map = NULL; ^ backend/texture/normal.cpp:593:21: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/normal.cpp:44: /usr/include/boost/smart_ptr/shared_ptr.hpp:505:18: note: boost::shared_ptr& boost::shared_ptr::operator=(const boost::shared_ptr&) [with T = pov::GenericNormalBlendMap] shared_ptr & operator=( shared_ptr const & r ) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:505:18: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ /usr/include/boost/smart_ptr/shared_ptr.hpp:514:18: note: template boost::shared_ptr& boost::shared_ptr::operator=(const boost::shared_ptr&) [with Y = Y; T = pov::GenericNormalBlendMap] shared_ptr & operator=(shared_ptr const & r) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:514:18: note: template argument deduction/substitution failed: backend/texture/normal.cpp:593:21: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ New->Blend_Map = NULL; ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/normal.cpp:44: /usr/include/boost/smart_ptr/shared_ptr.hpp:525:18: note: template boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<_Tp1>&) [with Y = Y; T = pov::GenericNormalBlendMap] shared_ptr & operator=( std::auto_ptr & r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:525:18: note: template argument deduction/substitution failed: backend/texture/normal.cpp:593:21: note: mismatched types ‘std::auto_ptr’ and ‘long int’ New->Blend_Map = NULL; ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/tr1/memory.hpp:56, from ../vfe/unix/syspovconfig.h:67, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from ./base/colour.h:43, from ./backend/frame.h:59, from backend/texture/normal.cpp:44: /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: note: template typename boost::detail::sp_enable_if_auto_ptr&>::type boost::shared_ptr::operator=(Ap) [with Ap = Ap; T = pov::GenericNormalBlendMap] typename boost::detail::sp_enable_if_auto_ptr< Ap, shared_ptr & >::type operator=( Ap r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template typename boost::detail::sp_enable_if_auto_ptr&>::type boost::shared_ptr::operator=(Ap) [with Ap = Ap; T = pov::GenericNormalBlendMap] [with Ap = long int]’: backend/texture/normal.cpp:593:21: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:543:77: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr&>’ In file included from ./backend/frame.h:59:0, from backend/math/matrices.cpp:35: ./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); ^ In file included from ./backend/frame.h:59:0, from backend/math/quatern.cpp:38: ./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: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: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: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); ^ ./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); ^ In file included from ../source/base/platformbase.h:40:0, from frontend/defaultplatformbase.h:40, from frontend/defaultplatformbase.cpp:37: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/defaultplatformbase.cpp:35: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ../source/base/platformbase.h:40:0, from frontend/defaultplatformbase.h:40, from frontend/defaultplatformbase.cpp:37: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/defaultplatformbase.cpp:35: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ../source/base/platformbase.h:40:0, from frontend/defaultplatformbase.h:40, from frontend/defaultplatformbase.cpp:37: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/defaultplatformbase.cpp:35: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ../source/base/platformbase.h:40:0, from frontend/defaultplatformbase.h:40, from frontend/defaultplatformbase.cpp:37: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/defaultplatformbase.cpp:35: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ../source/base/platformbase.h:40:0, from frontend/defaultplatformbase.h:40, from frontend/defaultplatformbase.cpp:37: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [backend/texture/normal.o] Erreur 1 make[2]: *** [frontend/defaultplatformbase.o] Erreur 1 In file included from frontend/animationprocessing.cpp:37:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/string:40, from frontend/animationprocessing.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from frontend/animationprocessing.cpp:37:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/string:40, from frontend/animationprocessing.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from frontend/animationprocessing.cpp:37:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./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/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/string:40, from frontend/animationprocessing.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from frontend/animationprocessing.cpp:37:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/string:40, from frontend/animationprocessing.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from frontend/animationprocessing.cpp:37:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./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); ^ make[2]: *** [frontend/animationprocessing.o] Erreur 1 In file included from frontend/console.cpp:34:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/console.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from frontend/console.cpp:34:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/console.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from frontend/console.cpp:34:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/console.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from frontend/console.cpp:34:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/console.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from frontend/console.cpp:34:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [frontend/console.o] Erreur 1 In file included from frontend/processrenderoptions.cpp:36:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/processrenderoptions.cpp:35: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from frontend/processrenderoptions.cpp:36:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/processrenderoptions.cpp:35: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from frontend/processrenderoptions.cpp:36:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/processrenderoptions.cpp:35: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from frontend/processrenderoptions.cpp:36:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/processrenderoptions.cpp:35: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from frontend/processrenderoptions.cpp:36:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [frontend/processrenderoptions.o] Erreur 1 In file included from frontend/filemessagehandler.cpp:34:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/filemessagehandler.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from frontend/filemessagehandler.cpp:34:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/filemessagehandler.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from frontend/filemessagehandler.cpp:34:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/filemessagehandler.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from frontend/filemessagehandler.cpp:34:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/filemessagehandler.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from frontend/filemessagehandler.cpp:34:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from frontend/imageprocessing.cpp:39:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/string:40, from frontend/imageprocessing.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from frontend/imageprocessing.cpp:39:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/string:40, from frontend/imageprocessing.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from frontend/imageprocessing.cpp:39:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/string:40, from frontend/imageprocessing.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from frontend/imageprocessing.cpp:39:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/string:40, from frontend/imageprocessing.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from frontend/imageprocessing.cpp:39:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from ./frontend/renderfrontend.h:46, from frontend/filemessagehandler.cpp:38: ./base/colour.h: At global scope: ./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); ^ In file included from frontend/renderfrontend.cpp:34:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/renderfrontend.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from frontend/renderfrontend.cpp:34:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/renderfrontend.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from frontend/renderfrontend.cpp:34:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/renderfrontend.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from frontend/renderfrontend.cpp:34:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/renderfrontend.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from frontend/renderfrontend.cpp:34:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [frontend/filemessagehandler.o] Erreur 1 In file included from ./frontend/imagemessagehandler.h:35:0, from frontend/imagemessagehandler.cpp:38: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/imagemessagehandler.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./frontend/imagemessagehandler.h:35:0, from frontend/imagemessagehandler.cpp:38: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/imagemessagehandler.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./frontend/imagemessagehandler.h:35:0, from frontend/imagemessagehandler.cpp:38: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/imagemessagehandler.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./frontend/imagemessagehandler.h:35:0, from frontend/imagemessagehandler.cpp:38: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/imagemessagehandler.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./frontend/imagemessagehandler.h:35:0, from frontend/imagemessagehandler.cpp:38: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/encoding.h:44, from frontend/imageprocessing.cpp:40: ./base/colour.h: At global scope: ./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); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from ./frontend/renderfrontend.h:46, from frontend/renderfrontend.cpp:43: ./base/colour.h: At global scope: ./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); ^ frontend/renderfrontend.cpp: In member function ‘void pov_frontend::RenderFrontendBase::NewBackup(POVMS_Object&, pov_frontend::ViewData&, const pov_base::Path&)’: frontend/renderfrontend.cpp:617:50: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(vd.imageBackup->write(&hdr, sizeof(hdr)) == false) ^ frontend/renderfrontend.cpp: In member function ‘void pov_frontend::RenderFrontendBase::ContinueBackup(POVMS_Object&, pov_frontend::ViewData&, pov_frontend::RenderFrontendBase::ViewId, int&, std::vector&, const pov_base::Path&)’: frontend/renderfrontend.cpp:670:47: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if (inbuffer->read (&hdr, sizeof (hdr)) == false) ^ make[2]: *** [frontend/imageprocessing.o] Erreur 1 In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from ./frontend/renderfrontend.h:46, from ./frontend/imagemessagehandler.h:38, from frontend/imagemessagehandler.cpp:38: ./base/colour.h: At global scope: ./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); ^ make[2]: *** [frontend/renderfrontend.o] Erreur 1 In file included from frontend/parsermessagehandler.cpp:36:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/sstream:38, from frontend/parsermessagehandler.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from frontend/parsermessagehandler.cpp:36:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/sstream:38, from frontend/parsermessagehandler.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from frontend/parsermessagehandler.cpp:36:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/sstream:38, from frontend/parsermessagehandler.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from frontend/parsermessagehandler.cpp:36:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/sstream:38, from frontend/parsermessagehandler.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from frontend/parsermessagehandler.cpp:36:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from frontend/display.cpp:34:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/display.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from frontend/display.cpp:34:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/display.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from frontend/display.cpp:34:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/display.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from frontend/display.cpp:34:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from frontend/display.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from frontend/display.cpp:34:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [frontend/imagemessagehandler.o] Erreur 1 In file included from frontend/rendermessagehandler.cpp:36:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/sstream:38, from frontend/rendermessagehandler.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from frontend/rendermessagehandler.cpp:36:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/sstream:38, from frontend/rendermessagehandler.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from frontend/rendermessagehandler.cpp:36:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/sstream:38, from frontend/rendermessagehandler.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from frontend/rendermessagehandler.cpp:36:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/sstream:38, from frontend/rendermessagehandler.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from frontend/rendermessagehandler.cpp:36:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from base/colour.cpp:38:0: ./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); ^ base/colour.cpp:53:22: error: specializing member ‘pov_base::GenericColour::mkDefaultWavelengths’ requires ‘template<>’ syntax const MathColour MathColour::mkDefaultWavelengths = MathColour(RGBColour(0.70, 0.52, 0.48)); ^ base/colour.cpp:54:29: error: specializing member ‘pov_base::GenericColour::mkDefaultWavelengths’ requires ‘template<>’ syntax const PreciseMathColour PreciseMathColour::mkDefaultWavelengths = PreciseMathColour(PreciseRGBColour(0.70, 0.52, 0.48)); ^ make[2]: *** [base/colour.o] Erreur 1 In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from ./frontend/renderfrontend.h:46, from frontend/parsermessagehandler.cpp:39: ./base/colour.h: At global scope: ./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); ^ In file included from backend/frame.h:59:0, from optout.cpp:40: ./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: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); ^ ./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); ^ In file included from ./base/image/colourspace.h:45:0, from ./frontend/display.h:36, from frontend/display.cpp:37: ./base/colour.h: At global scope: ./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); ^ In file included from backend/frame.h:59:0, from pov_mem.cpp:36: ./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); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from ./frontend/renderfrontend.h:46, from frontend/rendermessagehandler.cpp:39: ./base/colour.h: At global scope: ./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); ^ make[2]: *** [frontend/parsermessagehandler.o] Erreur 1 make[2]: *** [frontend/display.o] Erreur 1 In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from base/fileinputoutput.cpp:43: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/fileinputoutput.cpp:41: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from base/fileinputoutput.cpp:43: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/fileinputoutput.cpp:41: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from base/fileinputoutput.cpp:43: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/fileinputoutput.cpp:41: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from base/fileinputoutput.cpp:43: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/fileinputoutput.cpp:41: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from base/fileinputoutput.cpp:43: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [base/fileinputoutput.o] Erreur 1 make[2]: *** [frontend/rendermessagehandler.o] Erreur 1 base/povms.cpp:245:3: warning: anonymous type with no linkage used to declare variable ‘ POVMSStreamOrderTables’ with linkage [enabled by default] } POVMSStreamOrderTables; ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from base/textstream.h:51, from base/textstream.cpp:41: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from base/textstream.cpp:36: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from base/textstream.h:51, from base/textstream.cpp:41: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from base/textstream.cpp:36: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from base/textstream.h:51, from base/textstream.cpp:41: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from base/textstream.cpp:36: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from base/textstream.h:51, from base/textstream.cpp:41: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from base/textstream.cpp:36: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from base/textstream.h:51, from base/textstream.cpp:41: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [base/textstream.o] Erreur 1 In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/animation/animation.cpp:36: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/animation/animation.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/animation/animation.cpp:36: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/animation/animation.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/animation/animation.cpp:36: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/animation/animation.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/animation/animation.cpp:36: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/animation/animation.cpp:32: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/animation/animation.cpp:36: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/animation/animation.cpp:36: ./base/colour.h: At global scope: ./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); ^ In file included from ./base/animation/moov.h:36:0, from base/animation/moov.cpp:40: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/animation/moov.cpp:39: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/animation/moov.h:36:0, from base/animation/moov.cpp:40: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/animation/moov.cpp:39: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/animation/moov.h:36:0, from base/animation/moov.cpp:40: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/animation/moov.cpp:39: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/animation/moov.h:36:0, from base/animation/moov.cpp:40: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/animation/moov.cpp:39: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/animation/moov.h:36:0, from base/animation/moov.cpp:40: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [base/animation/animation.o] Erreur 1 In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/bmp.cpp:50: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/bmp.cpp:46: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/bmp.cpp:50: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/bmp.cpp:46: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/bmp.cpp:50: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/bmp.cpp:46: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/bmp.cpp:50: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/bmp.cpp:46: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/bmp.cpp:50: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/image.cpp:47: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from base/image/image.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/image.cpp:47: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from base/image/image.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/image.cpp:47: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from base/image/image.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/image.cpp:47: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from base/image/image.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/image.cpp:47: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from ./base/animation/animation.h:41, from ./base/animation/moov.h:37, from base/animation/moov.cpp:40: ./base/colour.h: At global scope: ./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); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/png.cpp:60: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/png.cpp:53: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/png.cpp:60: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/png.cpp:53: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/png.cpp:60: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/png.cpp:53: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/png.cpp:60: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/png.cpp:53: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/png.cpp:60: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/image.cpp:47: ./base/colour.h: At global scope: ./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) make[2]: *** [base/animation/moov.o] Erreur 1 ./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); ^ In file included from /usr/include/c++/4.8/cassert:43:0, from ./base/safemath.h:35, from base/image/image.cpp:51: ./base/safemath.h: In function ‘T pov_base::SafeUnsignedProduct(T1, T2, T3, T4)’: ./base/safemath.h:51:10: error: ‘numeric_limits’ was not declared in this scope assert (numeric_limits::is_integer); ^ ./base/safemath.h:51:10: note: suggested alternatives: In file included from /usr/include/boost/limits.hpp:19:0, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:13, 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_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/thread_data.hpp:12, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from ./base/image/colourspace.h:41, from ./base/image/image.h:42, from base/image/image.cpp:47: /usr/include/c++/4.8/limits:304:12: note: ‘std::numeric_limits’ struct numeric_limits : public __numeric_limits_base ^ In file included from /usr/include/boost/chrono/time_point.hpp:33:0, from /usr/include/boost/thread/lock_types.hpp:22, from /usr/include/boost/thread/pthread/thread_data.hpp:12, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from ./base/image/colourspace.h:41, from ./base/image/image.h:42, from base/image/image.cpp:47: /usr/include/boost/chrono/duration.hpp:376:12: note: ‘boost::chrono::detail::numeric_limits’ struct numeric_limits : chrono_numeric_limits::type> ^ In file included from /usr/include/c++/4.8/cassert:43:0, from ./base/safemath.h:35, from base/image/image.cpp:51: ./base/safemath.h:51:26: error: expected primary-expression before ‘>’ token assert (numeric_limits::is_integer); ^ ./base/safemath.h:51:27: error: ‘::is_integer’ has not been declared assert (numeric_limits::is_integer); ^ ./base/safemath.h:52:27: error: expected primary-expression before ‘>’ token assert (numeric_limits::is_integer && (p1 >= 0)); ^ ./base/safemath.h:52:28: error: ‘::is_integer’ has not been declared assert (numeric_limits::is_integer && (p1 >= 0)); ^ ./base/safemath.h:53:27: error: expected primary-expression before ‘>’ token assert (numeric_limits::is_integer && (p2 >= 0)); ^ ./base/safemath.h:53:28: error: ‘::is_integer’ has not been declared assert (numeric_limits::is_integer && (p2 >= 0)); ^ ./base/safemath.h:54:27: error: expected primary-expression before ‘>’ token assert (numeric_limits::is_integer && (p3 >= 0)); ^ ./base/safemath.h:54:28: error: ‘::is_integer’ has not been declared assert (numeric_limits::is_integer && (p3 >= 0)); ^ ./base/safemath.h:55:27: error: expected primary-expression before ‘>’ token assert (numeric_limits::is_integer && (p4 >= 0)); ^ ./base/safemath.h:55:28: error: ‘::is_integer’ has not been declared assert (numeric_limits::is_integer && (p4 >= 0)); ^ In file included from base/image/image.cpp:51:0: ./base/safemath.h:61:26: error: expected primary-expression before ‘>’ token if ( (((numeric_limits::max() / p4) / p3) / p2) < p1 ) ^ ./base/safemath.h:61:33: error: no matching function for call to ‘max()’ if ( (((numeric_limits::max() / p4) / p3) / p2) < p1 ) ^ ./base/safemath.h:61:33: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from base/image/image.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from base/image/image.cpp:51:0: ./base/safemath.h:61:33: note: candidate expects 3 arguments, 0 provided if ( (((numeric_limits::max() / p4) / p3) / p2) < p1 ) ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from base/image/image.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from base/image/image.cpp:51:0: ./base/safemath.h:61:33: note: candidate expects 2 arguments, 0 provided if ( (((numeric_limits::max() / p4) / p3) / p2) < p1 ) ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/bmp.cpp:50: ./base/colour.h: At global scope: ./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); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/ppm.cpp:54: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/ppm.cpp:49: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/ppm.cpp:54: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/ppm.cpp:49: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/ppm.cpp:54: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/ppm.cpp:49: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/ppm.cpp:54: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/ppm.cpp:49: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/ppm.cpp:54: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/gifdecod.cpp:81: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/image/gifdecod.cpp:80: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/gifdecod.cpp:81: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/image/gifdecod.cpp:80: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/gifdecod.cpp:81: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/image/gifdecod.cpp:80: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/gifdecod.cpp:81: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/image/gifdecod.cpp:80: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/gifdecod.cpp:81: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/image/colourspace.h:45:0, from base/image/colourspace.cpp:38: ./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); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/tiff.cpp:39: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/tiff.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/tiff.cpp:39: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/tiff.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/tiff.cpp:39: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/tiff.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/tiff.cpp:39: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/tiff.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/tiff.cpp:39: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [base/image/bmp.o] Erreur 1 In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/png.cpp:60: ./base/colour.h: At global scope: ./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); ^ make[2]: *** [base/image/image.o] Erreur 1 In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/ppm.cpp:54: ./base/colour.h: At global scope: ./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); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/tiff.cpp:39: ./base/colour.h: At global scope: ./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); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/gifdecod.cpp:81: ./base/colour.h: At global scope: ./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); ^ make[2]: *** [base/image/tiff.o] Erreur 1 make[2]: *** [base/image/png.o] Erreur 1 make[2]: *** [base/image/gifdecod.o] Erreur 1 In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/jpeg.cpp:136: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/image/jpeg.cpp:135: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/jpeg.cpp:136: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/image/jpeg.cpp:135: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/jpeg.cpp:136: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/image/jpeg.cpp:135: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/jpeg.cpp:136: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/image/jpeg.cpp:135: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/jpeg.cpp:136: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/iff.cpp:38: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/iff.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/iff.cpp:38: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/iff.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/iff.cpp:38: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/iff.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/iff.cpp:38: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/iff.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/iff.cpp:38: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [base/image/ppm.o] Erreur 1 In file included from ./base/image/colourspace.h:45:0, from ./base/image/encoding.h:44, from base/image/encoding.cpp:39: ./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); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/pgm.cpp:50: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/pgm.cpp:45: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/pgm.cpp:50: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/pgm.cpp:45: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/pgm.cpp:50: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/pgm.cpp:45: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/pgm.cpp:50: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/pgm.cpp:45: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/pgm.cpp:50: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/gif.cpp:49: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/gif.cpp:45: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/gif.cpp:49: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/gif.cpp:45: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/gif.cpp:49: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/gif.cpp:45: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/gif.cpp:49: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/gif.cpp:45: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/gif.cpp:49: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from ./base/image/hdr.h:35, from base/image/hdr.cpp:48: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/hdr.cpp:41: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from ./base/image/hdr.h:35, from base/image/hdr.cpp:48: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/hdr.cpp:41: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from ./base/image/hdr.h:35, from base/image/hdr.cpp:48: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/hdr.cpp:41: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from ./base/image/hdr.h:35, from base/image/hdr.cpp:48: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/hdr.cpp:41: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from ./base/image/hdr.h:35, from base/image/hdr.cpp:48: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/jpeg.cpp:136: ./base/colour.h: At global scope: ./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) In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/iff.cpp:38: ./base/colour.h: At global scope: ./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: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: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); ^ ./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); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/gif.cpp:49: ./base/colour.h: At global scope: ./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); ^ make[2]: *** [base/image/iff.o] Erreur 1 In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/pgm.cpp:50: ./base/colour.h: At global scope: ./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); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/openexr.cpp:41: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/openexr.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/openexr.cpp:41: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/openexr.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/openexr.cpp:41: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/openexr.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/openexr.cpp:41: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from /usr/include/boost/assert.hpp:82, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:15, from /usr/include/boost/scoped_ptr.hpp:14, from base/image/openexr.cpp:34: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/openexr.cpp:41: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./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); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from ./base/image/hdr.h:35, from base/image/hdr.cpp:48: ./base/colour.h: At global scope: ./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); ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/textstream.h:51, from ./base/processoptions.h:41, from base/processoptions.cpp:40: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/processoptions.cpp:38: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/textstream.h:51, from ./base/processoptions.h:41, from base/processoptions.cpp:40: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/processoptions.cpp:38: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/textstream.h:51, from ./base/processoptions.h:41, from base/processoptions.cpp:40: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/processoptions.cpp:38: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/textstream.h:51, from ./base/processoptions.h:41, from base/processoptions.cpp:40: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/processoptions.cpp:38: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/textstream.h:51, from ./base/processoptions.h:41, from base/processoptions.cpp:40: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [base/image/gif.o] Erreur 1 make[2]: *** [base/processoptions.o] Erreur 1 base/image/hdr.cpp: In function ‘void pov_base::HDR::ReadOldLine(unsigned char*, int, pov_base::IStream*)’: base/image/hdr.cpp:134:21: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(*file == false) ^ base/image/hdr.cpp: In function ‘pov_base::Image* pov_base::HDR::Read(pov_base::IStream*, const pov_base::Image::ReadOptions&)’: base/image/hdr.cpp:189:50: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if((file->getline(line, sizeof(line)) == false) || (line[0] == '-') || (line[0] == '+')) ^ base/image/hdr.cpp:223:34: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(file->Read_Byte(b) == false) ^ base/image/hdr.cpp:238:34: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(file->Read_Byte(b) == false) ^ base/image/hdr.cpp:258:42: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(file->Read_Byte(b) == false) ^ base/image/hdr.cpp:266:48: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(file->Read_Byte(val) == false) ^ base/image/hdr.cpp:276:52: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(file->Read_Byte(val) == false) ^ base/image/hdr.cpp: In function ‘void pov_base::HDR::Write(pov_base::OStream*, const pov_base::Image*, const pov_base::Image::WriteOptions&)’: base/image/hdr.cpp:328:56: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(file->write(&rgbe, sizeof(RGBE)) == false) ^ base/image/hdr.cpp:373:74: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(file->Write_Byte(scanline[col][i]) == false) ^ base/image/hdr.cpp:391:72: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(file->Write_Byte(scanline[col++][i]) == false) ^ base/image/hdr.cpp:400:66: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(file->Write_Byte(scanline[beg][i]) == false) ^ In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/targa.cpp:60: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/targa.cpp:56: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/targa.cpp:60: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/targa.cpp:56: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/targa.cpp:60: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/vector:60:0, from base/image/targa.cpp:56: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/targa.cpp:60: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/vector:60:0, from base/image/targa.cpp:56: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from ./base/path.h:43:0, from ./base/fileinputoutput.h:40, from ./base/image/image.h:40, from base/image/targa.cpp:60: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from base/path.cpp:34:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/path.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from base/path.cpp:34:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/path.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from base/path.cpp:34:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/path.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from base/path.cpp:34:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from ../vfe/unix/syspovconfig.h:46, from ../vfe/unix/syspovconfigbase.h:35, from ./base/configbase.h:42, from base/path.cpp:33: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from base/path.cpp:34:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [base/path.o] Erreur 1 make[2]: *** [base/image/pgm.o] Erreur 1 In file included from base/textstreambuffer.cpp:45:0: ./base/types.h: In function ‘T pov_base::clipToType(T2)’: ./base/types.h:74:29: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:50: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: error: no matching function for call to ‘min()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:57: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from base/textstreambuffer.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:239:5: note: template argument deduction/substitution failed: In file included from base/textstreambuffer.cpp:45:0: ./base/types.h:74:57: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from base/textstreambuffer.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:193:5: note: template argument deduction/substitution failed: In file included from base/textstreambuffer.cpp:45:0: ./base/types.h:74:57: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:60: error: ‘numeric_limits’ is not a member of ‘std’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:81: error: expected primary-expression before ‘>’ token return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: error: no matching function for call to ‘max()’ return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ ./base/types.h:74:88: note: candidates are: In file included from /usr/include/c++/4.8/algorithm:61:0, from base/textstreambuffer.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template const _Tp& std::max(const _Tp&, const _Tp&, _Compare) max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.8/bits/stl_algobase.h:260:5: note: template argument deduction/substitution failed: In file included from base/textstreambuffer.cpp:45:0: ./base/types.h:74:88: note: candidate expects 3 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ In file included from /usr/include/c++/4.8/algorithm:61:0, from base/textstreambuffer.cpp:37: /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template const _Tp& std::max(const _Tp&, const _Tp&) max(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.8/bits/stl_algobase.h:216:5: note: template argument deduction/substitution failed: In file included from base/textstreambuffer.cpp:45:0: ./base/types.h:74:88: note: candidate expects 2 arguments, 0 provided return (T)clip(val, std::numeric_limits::min(), std::numeric_limits::max()); ^ make[2]: *** [base/textstreambuffer.o] Erreur 1 make[2]: *** [base/image/jpeg.o] Erreur 1 In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/openexr.cpp:41: ./base/colour.h: At global scope: ./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); ^ In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/targa.cpp:60: ./base/colour.h: At global scope: ./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); ^ In file included from backend/frame.h:59:0, from lightgrp.cpp:35: ./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); ^ base/image/openexr.cpp: In member function ‘virtual void pov_base::OpenEXR::POV_EXR_OStream::write(const char*, int)’: base/image/openexr.cpp:104:25: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(os.write(c, n) == false) ^ base/image/openexr.cpp: In member function ‘virtual void pov_base::OpenEXR::POV_EXR_OStream::seekp(Imath::Int64)’: base/image/openexr.cpp:118:39: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(os.seekg((unsigned long)pos) == false) ^ base/image/openexr.cpp: In member function ‘virtual bool pov_base::OpenEXR::POV_EXR_IStream::read(char*, int)’: base/image/openexr.cpp:145:24: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(is.read(c, n) == false) ^ base/image/openexr.cpp: In member function ‘virtual void pov_base::OpenEXR::POV_EXR_IStream::seekg(Imath::Int64)’: base/image/openexr.cpp:160:39: warning: converting ‘false’ to pointer type ‘const void*’ [-Wconversion-null] if(is.seekg((unsigned long)pos) == false) ^ make[2]: *** [base/image/hdr.o] Erreur 1 make[2]: *** [base/image/openexr.o] Erreur 1 make[2]: *** [base/image/targa.o] Erreur 1 make[2]: La cible « all » n'a pas pu être refabriquée à cause d'erreurs. In file included from ../source/backend/frame.h:59:0, from vfe.cpp:41: ../source/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); ^ ../source/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) ../source/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); ^ ../source/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); ^ ../source/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); ^ In file included from ../source/backend/frame.h:59:0, from vfedisplay.cpp:36: ../source/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); ^ ../source/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) ../source/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); ^ ../source/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); ^ ../source/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); ^ In file included from ../source/base/image/colourspace.h:45:0, from vfe.h:49, from vfecontrol.cpp:38: ../source/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); ^ ../source/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) ../source/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); ^ ../source/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); ^ ../source/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); ^ In file included from ../source/base/image/colourspace.h:45:0, from vfe.h:49, from vfepovms.cpp:36: ../source/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); ^ ../source/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) ../source/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); ^ ../source/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); ^ ../source/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); ^ In file included from ../source/base/image/colourspace.h:45:0, from ./vfe.h:49, from unix/platformbase.cpp:49: ../source/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); ^ ../source/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) ../source/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); ^ ../source/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); ^ In file included from ../source/base/image/colourspace.h:45:0, from ./vfe.h:49, from unix/vfeplatform.cpp:51: ../source/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); ^ ../source/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) ../source/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); ^ In file included from ../source/base/image/colourspace.h:45:0, from vfe.h:49, from vfesession.cpp:41: ../source/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); ^ ../source/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) ../source/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); ^ ../source/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); ^ ../source/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); ^ ../source/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); ^ ../source/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); ^ ../source/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); ^ In file included from ../source/base/image/colourspace.h:45:0, from ./vfe.h:49, from unix/unixoptions.h:41, from unix/unixoptions.cpp:38: ../source/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); ^ ../source/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) ../source/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); ^ ../source/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); ^ ../source/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); ^ In file included from ../source/base/image/colourspace.h:45:0, from ./vfe.h:49, from unix/unixconsole.cpp:40: ../source/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); ^ ../source/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) ../source/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); ^ ../source/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); ^ ../source/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); ^ unix/unixconsole.cpp: In function ‘ReturnValue PrepareBenchmark(vfe::vfeSession*, vfe::vfeRenderOptions&, std::string&, std::string&, int, char**)’: unix/unixconsole.cpp:323:28: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] read(STDIN_FILENO, s, 1); // read till is hit ^ make[2]: *** Pas de règle pour fabriquer la cible « ../source/libpovray.a », nécessaire pour « povray ». In file included from ../source/base/image/colourspace.h:45:0, from ../vfe/vfe.h:49, from disp_text.h:39, from disp_text.cpp:36: ../source/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); ^ ../source/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) ../source/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); ^ ../source/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); ^ ../source/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); ^ In file included from ../source/base/image/colourspace.h:45:0, from ../vfe/vfe.h:49, from disp_sdl.h:41, from disp_sdl.cpp:40: ../source/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); ^ ../source/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) ../source/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); ^ ../source/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); ^ ../source/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); ^ 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