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()); ^ 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/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()); ^ 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()); ^ 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/animationprocessing.o] Erreur 1 make[2]: *** [frontend/defaultplatformbase.o] Erreur 1 make[2]: *** [frontend/console.o] Erreur 1 make[2]: *** [frontend/processrenderoptions.o] Erreur 1 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 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/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 ./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/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/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 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()); ^ 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()); ^ 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/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/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/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 ./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); ^ In file included from ./backend/frame.h:59:0, from backend/parser/express.cpp:42: ./base/colour.h:100:72: warning: friend declaration ‘pov_base::GenericRGBColour pov_base::ToRGBColour(const pov_base::GenericColour&)’ declares a non-template function [-Wnon-template-friend] friend GenericRGBColour ToRGBColour(const GenericColour& col); ^ ./base/colour.h:100:72: note: (if this is not what you intended, make sure the function template has already been declared and add <> after the function name here) ./base/colour.h: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); ^ 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:54, 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:54, 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:54, 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&>’ 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:54, 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:54, 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:54, 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 ./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 ./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); ^ 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); ^ ./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/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/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); ^ 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:54, 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:54, 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:54, 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:54, 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:54, 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:54, 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&>’ 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/filemessagehandler.o] Erreur 1 make[2]: *** [frontend/imagemessagehandler.o] Erreur 1 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/texture/texture.o] Erreur 1 make[2]: *** [frontend/display.o] Erreur 1 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 make[2]: *** [frontend/parsermessagehandler.o] Erreur 1 make[2]: *** [backend/texture/normal.o] Erreur 1 make[2]: *** [frontend/rendermessagehandler.o] Erreur 1 make[2]: *** [frontend/renderfrontend.o] Erreur 1 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:2852:50: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return GenericPigmentBlendMapPtr(NULL); ^ backend/parser/express.cpp:2852:50: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:2852:50: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:2852:50: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:2852:50: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:2852:50: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:2852:50: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:2852:50: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:2852:50: note: mismatched types ‘Y*’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:2852:50: note: mismatched types ‘Y*’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:2852:50: note: mismatched types ‘Y*’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::GenericPigmentBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Blend_Map(int, int) [with MAP_T = pov::GenericNormalBlendMap]’: backend/parser/express.cpp:2866:49: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return GenericNormalBlendMapPtr(NULL); ^ backend/parser/express.cpp:2866:49: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:2866:49: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:2866:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::GenericNormalBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Item_Into_Blend_List(int) [with MAP_T = pov::GenericPigmentBlendMap]’: backend/parser/express.cpp:3232:50: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return GenericPigmentBlendMapPtr(NULL); ^ backend/parser/express.cpp:3232:50: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3232:50: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘Y*’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘Y*’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3232:50: note: mismatched types ‘Y*’ and ‘long int’ return GenericPigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::GenericPigmentBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Item_Into_Blend_List(int) [with MAP_T = pov::GenericNormalBlendMap]’: backend/parser/express.cpp:3246:49: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return GenericNormalBlendMapPtr(NULL); ^ backend/parser/express.cpp:3246:49: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3246:49: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3246:49: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::GenericNormalBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::PigmentBlendMap]’: backend/parser/express.cpp:3399:35: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return PigmentBlendMapPtr(NULL); ^ backend/parser/express.cpp:3399:35: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3399:35: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘Y*’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘Y*’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3399:35: note: mismatched types ‘Y*’ and ‘long int’ return PigmentBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::PigmentBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::GenericNormalBlendMap]’: backend/parser/express.cpp:3406:41: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return GenericNormalBlendMapPtr(NULL); ^ backend/parser/express.cpp:3406:41: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3406:41: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3406:41: note: mismatched types ‘Y*’ and ‘long int’ return GenericNormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::GenericNormalBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::SlopeBlendMap]’: backend/parser/express.cpp:3413:33: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return SlopeBlendMapPtr(NULL); ^ backend/parser/express.cpp:3413:33: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3413:33: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘Y*’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘Y*’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3413:33: note: mismatched types ‘Y*’ and ‘long int’ return SlopeBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::SlopeBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::NormalBlendMap]’: backend/parser/express.cpp:3420:34: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return NormalBlendMapPtr(NULL); ^ backend/parser/express.cpp:3420:34: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3420:34: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘Y*’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘Y*’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3420:34: note: mismatched types ‘Y*’ and ‘long int’ return NormalBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::NormalBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In member function ‘boost::shared_ptr pov::Parser::Parse_Colour_Map() [with MAP_T = pov::TextureBlendMap]’: backend/parser/express.cpp:3427:35: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return TextureBlendMapPtr(NULL); ^ backend/parser/express.cpp:3427:35: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3427:35: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘Y*’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘Y*’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3427:35: note: mismatched types ‘Y*’ and ‘long int’ return TextureBlendMapPtr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::TextureBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ make[2]: *** [backend/texture/pigment.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()); ^ 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/fileinputoutput.o] Erreur 1 make[2]: *** [base/textstream.o] Erreur 1 backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::PigmentBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3131:82: required from here backend/parser/express.cpp:3105:38: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return shared_ptr(NULL); ^ backend/parser/express.cpp:3105:38: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3105:38: required from ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::PigmentBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’ backend/parser/express.cpp:3131:82: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::PigmentBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3131:82: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::PigmentBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::ColourBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3137:80: required from here backend/parser/express.cpp:3105:38: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return shared_ptr(NULL); ^ backend/parser/express.cpp:3105:38: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3105:38: required from ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::ColourBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’ backend/parser/express.cpp:3137:80: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::ColourBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3137:80: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::ColourBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::SlopeBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3151:78: required from here backend/parser/express.cpp:3105:38: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return shared_ptr(NULL); ^ backend/parser/express.cpp:3105:38: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3105:38: required from ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::SlopeBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’ backend/parser/express.cpp:3151:78: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::SlopeBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3151:78: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::SlopeBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::NormalBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3155:79: required from here backend/parser/express.cpp:3105:38: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return shared_ptr(NULL); ^ backend/parser/express.cpp:3105:38: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3105:38: required from ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::NormalBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’ backend/parser/express.cpp:3155:79: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::NormalBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3155:79: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::NormalBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::TextureBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3168:131: required from here backend/parser/express.cpp:3105:38: error: no matching function for call to ‘boost::shared_ptr::shared_ptr(NULL)’ return shared_ptr(NULL); ^ backend/parser/express.cpp:3105:38: note: candidates are: In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr::type = 0 ): px( r.get() ), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: note: template argument deduction/substitution failed: /usr/include/boost/smart_ptr/shared_ptr.hpp: In substitution of ‘template boost::shared_ptr::shared_ptr(Ap, typename boost::detail::sp_enable_if_auto_ptr::type) [with Ap = long int]’: backend/parser/express.cpp:3105:38: required from ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::TextureBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’ backend/parser/express.cpp:3168:131: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:472:14: error: no type named ‘type’ in ‘struct boost::detail::sp_enable_if_auto_ptr’ backend/parser/express.cpp: In instantiation of ‘boost::shared_ptr pov::Parser::Parse_Blend_List(int, pov::ColourBlendMapConstPtr, int) [with MAP_T = pov::TextureBlendMap; pov::ColourBlendMapConstPtr = boost::shared_ptr]’: backend/parser/express.cpp:3168:131: required from here /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template boost::shared_ptr::shared_ptr(std::auto_ptr<_Tp1>&) explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn() ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:446:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘std::auto_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, boost::shared_ptr::element_type*) shared_ptr( shared_ptr const & r, element_type * p ) BOOST_NOEXCEPT : px( p ), pn( r.pn ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:439:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template boost::shared_ptr::shared_ptr(const boost::shared_ptr&, typename boost::detail::sp_enable_if_convertible::type) shared_ptr( shared_ptr const & r, typename boost::detail::sp_enable_if_convertible::type = boost::detail::sp_empty() ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:425:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::shared_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&, boost::detail::sp_nothrow_tag) shared_ptr( weak_ptr const & r, boost::detail::sp_nothrow_tag ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:413:5: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template boost::shared_ptr::shared_ptr(const boost::weak_ptr&) explicit shared_ptr( weak_ptr const & r ): pn( r.pn ) // may throw ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:404:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘const boost::weak_ptr’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template boost::shared_ptr::shared_ptr(Y*, D, A) template shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:378:41: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template boost::shared_ptr::shared_ptr(Y*, D) template shared_ptr( Y * p, D d ): px( p ), pn( p, d ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:363:32: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template boost::shared_ptr::shared_ptr(Y*) explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:352:14: note: template argument deduction/substitution failed: backend/parser/express.cpp:3105:38: note: mismatched types ‘Y*’ and ‘long int’ return shared_ptr(NULL); ^ In file included from /usr/include/boost/shared_ptr.hpp:17:0, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time.hpp:15, from backend/parser/express.cpp:39: /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: boost::shared_ptr::shared_ptr() [with T = pov::TextureBlendMap] shared_ptr() BOOST_NOEXCEPT : px( 0 ), pn() // never throws in 1.30+ ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:339:5: note: candidate expects 0 arguments, 1 provided /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: boost::shared_ptr::shared_ptr(const boost::shared_ptr&) template class shared_ptr ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:328:25: note: no known conversion for argument 1 from ‘long int’ to ‘const boost::shared_ptr&’ ./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])); ^ 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()); ^ make[2]: *** [backend/parser/express.o] Erreur 1 make[2]: *** [backend/render/trace.o] Erreur 1 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()); ^ 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/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/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()); ^ 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/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()); ^ 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); ^ 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: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/ppm.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/ppm.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/ppm.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/ppm.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/ppm.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/ppm.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/ppm.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/ppm.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()); ^ ./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/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/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/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); ^ make[2]: *** [base/animation/animation.o] Erreur 1 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); ^ 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) ./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/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); ^ make[2]: *** [base/animation/moov.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/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/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); ^ 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: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 ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from base/image/ppm.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) make[2]: *** [base/image/bmp.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 ./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) ./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/gifdecod.o] Erreur 1 make[2]: *** [base/image/tiff.o] Erreur 1 make[2]: *** [base/image/iff.o] Erreur 1 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/processoptions.o] Erreur 1 make[2]: *** [base/image/image.o] Erreur 1 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()); ^ 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/path.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 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); ^ make[2]: *** [base/image/png.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) ^ make[2]: *** [base/image/jpeg.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/pgm.h:35, from base/image/pgm.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/vector:60:0, from base/image/pgm.cpp:43: /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.h:35, from base/image/pgm.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/vector:60:0, from base/image/pgm.cpp:43: /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.h:35, from base/image/pgm.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/vector:60:0, from base/image/pgm.cpp:43: /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.h:35, from base/image/pgm.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/vector:60:0, from base/image/pgm.cpp:43: /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.h:35, from base/image/pgm.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()); ^ make[2]: *** [base/image/ppm.o] Erreur 1 make[2]: *** [base/image/gif.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/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.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()); ^ make[2]: *** [base/image/hdr.o] Erreur 1 In file included from ./base/image/colourspace.h:45:0, from ./base/image/image.h:42, from ./base/image/pgm.h:35, from base/image/pgm.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) ./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/pgm.o] Erreur 1 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 ./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); ^ 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/targa.o] Erreur 1 make[2]: *** [base/image/openexr.o] Erreur 1 make[2]: La cible « all » n'a pas pu être refabriquée à cause d'erreurs. make[2]: *** Pas de règle pour fabriquer la cible « ../source/libpovray.a », nécessaire pour « povray ». make[2]: La cible « all » n'a pas pu être refabriquée à cause d'erreurs. make[1]: *** [all-recursive] Erreur 1 make: *** [all] Erreur 2