In file included from boxword.h:24,
from blamer.h:26,
from blamer.cpp:21:
rect.h: In member function ���double TBOX::x_overlap_fraction(const TBOX&) const���:
rect.h:463:65: error: no matching function for call to ���max(float, double)���
return std::max(0.0, static_cast<double>(high - low) / width);
^
In file included from /mnt/utmp/codeblocks/usr/include/c++/8.1.0/algorithm:61,
from ../../src/ccutil/genericvector.h:23,
from boxword.h:23,
from blamer.h:26,
from blamer.cpp:21:
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algobase.h:219:5: note: candidate: ���template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)���
max(const _Tp& __a, const _Tp& __b)
^~~
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algobase.h:219:5: note: template argument deduction/substitution failed:
In file included from boxword.h:24,
from blamer.h:26,
from blamer.cpp:21:
rect.h:463:65: note: deduced conflicting types for parameter ���const _Tp��� (���float��� and ���double���)
return std::max(0.0, static_cast<double>(high - low) / width);
^
In file included from /mnt/utmp/codeblocks/usr/include/c++/8.1.0/algorithm:61,
from ../../src/ccutil/genericvector.h:23,
from boxword.h:23,
from blamer.h:26,
from blamer.cpp:21:
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algobase.h:265:5: note: candidate: ���template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)���
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algobase.h:265:5: note: template argument deduction/substitution failed:
In file included from boxword.h:24,
from blamer.h:26,
from blamer.cpp:21:
rect.h:463:65: note: deduced conflicting types for parameter ���const _Tp��� (���float��� and ���double���)
return std::max(0.0, static_cast<double>(high - low) / width);
^
In file included from /mnt/utmp/codeblocks/usr/include/c++/8.1.0/algorithm:62,
from ../../src/ccutil/genericvector.h:23,
from boxword.h:23,
from blamer.h:26,
from blamer.cpp:21:
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algo.h:3462:5: note: candidate: ���template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)���
max(initializer_list<_Tp> __l)
^~~
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algo.h:3462:5: note: template argument deduction/substitution failed:
In file included from boxword.h:24,
from blamer.h:26,
from blamer.cpp:21:
rect.h:463:65: note: mismatched types ���std::initializer_list<_Tp>��� and ���float���
return std::max(0.0, static_cast<double>(high - low) / width);
^
In file included from /mnt/utmp/codeblocks/usr/include/c++/8.1.0/algorithm:62,
from ../../src/ccutil/genericvector.h:23,
from boxword.h:23,
from blamer.h:26,
from blamer.cpp:21:
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algo.h:3468:5: note: candidate: ���template<class _Tp, class _Compare> _Tp std::max(std::initializer_list<_Tp>, _Compare)���
max(initializer_list<_Tp> __l, _Compare __comp)
^~~
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algo.h:3468:5: note: template argument deduction/substitution failed:
In file included from boxword.h:24,
from blamer.h:26,
from blamer.cpp:21:
rect.h:463:65: note: mismatched types ���std::initializer_list<_Tp>��� and ���float���
return std::max(0.0, static_cast<double>(high - low) / width);
^
rect.h: In member function ���double TBOX::y_overlap_fraction(const TBOX&) const���:
rect.h:485:66: error: no matching function for call to ���max(float, double)���
return std::max(0.0, static_cast<double>(high - low) / height);
^
In file included from /mnt/utmp/codeblocks/usr/include/c++/8.1.0/algorithm:61,
from ../../src/ccutil/genericvector.h:23,
from boxword.h:23,
from blamer.h:26,
from blamer.cpp:21:
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algobase.h:219:5: note: candidate: ���template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)���
max(const _Tp& __a, const _Tp& __b)
^~~
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algobase.h:219:5: note: template argument deduction/substitution failed:
In file included from boxword.h:24,
from blamer.h:26,
from blamer.cpp:21:
rect.h:485:66: note: deduced conflicting types for parameter ���const _Tp��� (���float��� and ���double���)
return std::max(0.0, static_cast<double>(high - low) / height);
^
In file included from /mnt/utmp/codeblocks/usr/include/c++/8.1.0/algorithm:61,
from ../../src/ccutil/genericvector.h:23,
from boxword.h:23,
from blamer.h:26,
from blamer.cpp:21:
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algobase.h:265:5: note: candidate: ���template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)���
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algobase.h:265:5: note: template argument deduction/substitution failed:
In file included from boxword.h:24,
from blamer.h:26,
from blamer.cpp:21:
rect.h:485:66: note: deduced conflicting types for parameter ���const _Tp��� (���float��� and ���double���)
return std::max(0.0, static_cast<double>(high - low) / height);
^
In file included from /mnt/utmp/codeblocks/usr/include/c++/8.1.0/algorithm:62,
from ../../src/ccutil/genericvector.h:23,
from boxword.h:23,
from blamer.h:26,
from blamer.cpp:21:
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algo.h:3462:5: note: candidate: ���template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)���
max(initializer_list<_Tp> __l)
^~~
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algo.h:3462:5: note: template argument deduction/substitution failed:
In file included from boxword.h:24,
from blamer.h:26,
from blamer.cpp:21:
rect.h:485:66: note: mismatched types ���std::initializer_list<_Tp>��� and ���float���
return std::max(0.0, static_cast<double>(high - low) / height);
^
In file included from /mnt/utmp/codeblocks/usr/include/c++/8.1.0/algorithm:62,
from ../../src/ccutil/genericvector.h:23,
from boxword.h:23,
from blamer.h:26,
from blamer.cpp:21:
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algo.h:3468:5: note: candidate: ���template<class _Tp, class _Compare> _Tp std::max(std::initializer_list<_Tp>, _Compare)���
max(initializer_list<_Tp> __l, _Compare __comp)
^~~
/mnt/utmp/codeblocks/usr/include/c++/8.1.0/bits/stl_algo.h:3468:5: note: template argument deduction/substitution failed:
In file included from boxword.h:24,
from blamer.h:26,
from blamer.cpp:21:
rect.h:485:66: note: mismatched types ���std::initializer_list<_Tp>��� and ���float���
return std::max(0.0, static_cast<double>(high - low) / height);
^
make[2]: *** [Makefile:504: blamer.lo] Error 1