openexr
openexr copied to clipboard
Namespace around half?
trafficstars
At the moment half.h is in the global namespace. Eigen has also class called half.
When both Eigen::half_impl::half and openexr's half are in the same translation, the class becomes ambiguous. Could you please add a namespace around half class to make it unambigious? Or e.g. use ::half a lot to make it not clash with any other namespaced classes called half?
E.g. with gcc-6 compiler:
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:229:64: error: reference to ‘half’ is ambiguous
HALF_EXPORT std::ostream & operator << (std::ostream &os, half h);
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:229:64: error: ‘half’ has not been declared
HALF_EXPORT std::ostream & operator << (std::ostream &os, half h);
^~~~
/usr/include/OpenEXR/half.h:230:64: error: reference to ‘half’ is ambiguous
HALF_EXPORT std::istream & operator >> (std::istream &is, half &h);
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:230:64: error: ‘half’ has not been declared
HALF_EXPORT std::istream & operator >> (std::istream &is, half &h);
^~~~
/usr/include/OpenEXR/half.h:237:56: error: reference to ‘half’ is ambiguous
HALF_EXPORT void printBits (std::ostream &os, half h);
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:237:56: error: ‘half’ has not been declared
HALF_EXPORT void printBits (std::ostream &os, half h);
^~~~
/usr/include/OpenEXR/half.h:239:51: error: reference to ‘half’ is ambiguous
HALF_EXPORT void printBits (char c[19], half h);
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:239:51: error: ‘half’ has not been declared
HALF_EXPORT void printBits (char c[19], half h);
^~~~
/usr/include/OpenEXR/half.h:418:1: error: reference to ‘half’ is ambiguous
half::half ()
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:429:1: error: reference to ‘half’ is ambiguous
half::half (float f)
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:493:1: error: reference to ‘half’ is ambiguous
half::operator float () const
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:503:8: error: reference to ‘half’ is ambiguous
inline half
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:562:8: error: reference to ‘half’ is ambiguous
inline half
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:571:8: error: reference to ‘half’ is ambiguous
inline half &
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:579:8: error: reference to ‘half’ is ambiguous
inline half &
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:587:8: error: reference to ‘half’ is ambiguous
inline half &
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:595:8: error: reference to ‘half’ is ambiguous
inline half &
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:603:8: error: reference to ‘half’ is ambiguous
inline half &
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:611:8: error: reference to ‘half’ is ambiguous
inline half &
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:619:8: error: reference to ‘half’ is ambiguous
inline half &
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:627:8: error: reference to ‘half’ is ambiguous
inline half &
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:635:8: error: reference to ‘half’ is ambiguous
inline half &
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:643:8: error: reference to ‘half’ is ambiguous
inline half &
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:652:1: error: reference to ‘half’ is ambiguous
half::isFinite () const
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:652:19: error: non-member function ‘bool isFinite()’ cannot have cv-qualifier
half::isFinite () const
^~~~~
/usr/include/OpenEXR/half.h: In function ‘bool isFinite()’:
/usr/include/OpenEXR/half.h:654:25: error: ‘_h’ was not declared in this scope
unsigned short e = (_h >> 10) & 0x001f;
^~
/usr/include/OpenEXR/half.h: At global scope:
/usr/include/OpenEXR/half.h:660:1: error: reference to ‘half’ is ambiguous
half::isNormalized () const
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:660:23: error: non-member function ‘bool isNormalized()’ cannot have cv-qualifier
half::isNormalized () const
^~~~~
/usr/include/OpenEXR/half.h: In function ‘bool isNormalized()’:
/usr/include/OpenEXR/half.h:662:25: error: ‘_h’ was not declared in this scope
unsigned short e = (_h >> 10) & 0x001f;
^~
/usr/include/OpenEXR/half.h: At global scope:
/usr/include/OpenEXR/half.h:668:1: error: reference to ‘half’ is ambiguous
half::isDenormalized () const
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:668:25: error: non-member function ‘bool isDenormalized()’ cannot have cv-qualifier
half::isDenormalized () const
^~~~~
/usr/include/OpenEXR/half.h: In function ‘bool isDenormalized()’:
/usr/include/OpenEXR/half.h:670:25: error: ‘_h’ was not declared in this scope
unsigned short e = (_h >> 10) & 0x001f;
^~
/usr/include/OpenEXR/half.h: At global scope:
/usr/include/OpenEXR/half.h:677:1: error: reference to ‘half’ is ambiguous
half::isZero () const
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:677:17: error: non-member function ‘bool isZero()’ cannot have cv-qualifier
half::isZero () const
^~~~~
/usr/include/OpenEXR/half.h: In function ‘bool isZero()’:
/usr/include/OpenEXR/half.h:679:13: error: ‘_h’ was not declared in this scope
return (_h & 0x7fff) == 0;
^~
/usr/include/OpenEXR/half.h: At global scope:
/usr/include/OpenEXR/half.h:684:1: error: reference to ‘half’ is ambiguous
half::isNan () const
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:684:16: error: non-member function ‘bool isNan()’ cannot have cv-qualifier
half::isNan () const
^~~~~
/usr/include/OpenEXR/half.h: In function ‘bool isNan()’:
/usr/include/OpenEXR/half.h:686:25: error: ‘_h’ was not declared in this scope
unsigned short e = (_h >> 10) & 0x001f;
^~
/usr/include/OpenEXR/half.h: At global scope:
/usr/include/OpenEXR/half.h:693:1: error: reference to ‘half’ is ambiguous
half::isInfinity () const
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:693:21: error: non-member function ‘bool isInfinity()’ cannot have cv-qualifier
half::isInfinity () const
^~~~~
/usr/include/OpenEXR/half.h: In function ‘bool isInfinity()’:
/usr/include/OpenEXR/half.h:695:25: error: ‘_h’ was not declared in this scope
unsigned short e = (_h >> 10) & 0x001f;
^~
/usr/include/OpenEXR/half.h: At global scope:
/usr/include/OpenEXR/half.h:702:1: error: reference to ‘half’ is ambiguous
half::isNegative () const
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:702:21: error: non-member function ‘bool isNegative()’ cannot have cv-qualifier
half::isNegative () const
^~~~~
/usr/include/OpenEXR/half.h: In function ‘bool isNegative()’:
/usr/include/OpenEXR/half.h:704:13: error: ‘_h’ was not declared in this scope
return (_h & 0x8000) != 0;
^~
/usr/include/OpenEXR/half.h: At global scope:
/usr/include/OpenEXR/half.h:708:8: error: reference to ‘half’ is ambiguous
inline half
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:717:8: error: reference to ‘half’ is ambiguous
inline half
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:726:8: error: reference to ‘half’ is ambiguous
inline half
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:735:8: error: reference to ‘half’ is ambiguous
inline half
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:745:1: error: reference to ‘half’ is ambiguous
half::bits () const
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:745:15: error: non-member function ‘short unsigned int bits()’ cannot have cv-qualifier
half::bits () const
^~~~~
/usr/include/OpenEXR/half.h: In function ‘short unsigned int bits()’:
/usr/include/OpenEXR/half.h:747:12: error: ‘_h’ was not declared in this scope
return _h;
^~
/usr/include/OpenEXR/half.h: At global scope:
/usr/include/OpenEXR/half.h:752:1: error: reference to ‘half’ is ambiguous
half::setBits (unsigned short bits)
^~~~
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h: In function ‘void setBits(short unsigned int)’:
/usr/include/OpenEXR/half.h:754:5: error: ‘_h’ was not declared in this scope
_h = bits;
^~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h: At global scope:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:120:53: error: template argument 1 is invalid
class PIGMENTCMS_EXPORT KoColorSpaceMathsTraits<half>
^
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:381:8: error: reference to ‘half’ is ambiguous
inline half KoColorSpaceMaths<double, half>::scaleToA(double a)
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:387:45: error: template argument 1 is invalid
inline double KoColorSpaceMaths<half, double>::scaleToA(half a)
^
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:387:57: error: ‘scaleToA’ declared as an ‘inline’ variable
inline double KoColorSpaceMaths<half, double>::scaleToA(half a)
^~~~
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:387:57: error: reference to ‘half’ is ambiguous
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:387:15: warning: too many template headers for scaleToA (should be 0)
inline double KoColorSpaceMaths<half, double>::scaleToA(half a)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:388:1: error: expected ‘;’ before ‘{’ token
{
^
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:393:43: error: template argument 1 is invalid
inline float KoColorSpaceMaths<half, float>::scaleToA(half a)
^
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:393:55: error: ‘scaleToA’ declared as an ‘inline’ variable
inline float KoColorSpaceMaths<half, float>::scaleToA(half a)
^~~~
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:393:55: error: reference to ‘half’ is ambiguous
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:393:14: warning: too many template headers for scaleToA (should be 0)
inline float KoColorSpaceMaths<half, float>::scaleToA(half a)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:394:1: error: expected ‘;’ before ‘{’ token
{
^
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:399:8: error: reference to ‘half’ is ambiguous
inline half KoColorSpaceMaths<float, half>::scaleToA(float a)
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:405:45: error: template argument 1 is invalid
inline quint8 KoColorSpaceMaths<half, quint8>::scaleToA(half a)
^
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:405:57: error: ‘scaleToA’ declared as an ‘inline’ variable
inline quint8 KoColorSpaceMaths<half, quint8>::scaleToA(half a)
^~~~
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:405:57: error: reference to ‘half’ is ambiguous
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:405:15: warning: too many template headers for scaleToA (should be 0)
inline quint8 KoColorSpaceMaths<half, quint8>::scaleToA(half a)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:406:1: error: expected ‘;’ before ‘{’ token
{
^
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:412:8: error: reference to ‘half’ is ambiguous
inline half KoColorSpaceMaths<quint8, half>::scaleToA(quint8 a)
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:417:47: error: template argument 1 is invalid
inline quint16 KoColorSpaceMaths<half, quint16>::scaleToA(half a)
^
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:417:59: error: ‘scaleToA’ declared as an ‘inline’ variable
inline quint16 KoColorSpaceMaths<half, quint16>::scaleToA(half a)
^~~~
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:417:59: error: reference to ‘half’ is ambiguous
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:417:16: warning: too many template headers for scaleToA (should be 0)
inline quint16 KoColorSpaceMaths<half, quint16>::scaleToA(half a)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:418:1: error: expected ‘;’ before ‘{’ token
{
^
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:424:8: error: reference to ‘half’ is ambiguous
inline half KoColorSpaceMaths<quint16, half>::scaleToA(quint16 a)
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:430:8: error: reference to ‘half’ is ambiguous
inline half KoColorSpaceMaths<half, half>::scaleToA(half a)
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:436:8: error: reference to ‘half’ is ambiguous
inline half KoColorSpaceMaths<half>::blend(half a, half b, half alpha)
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:117:0,
from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/usr/include/OpenEXR/half.h:91:7: note: candidates are: class half
class half
^~~~
In file included from /usr/include/eigen3/Eigen/Core:362:0,
from /«PKGBUILDDIR»/krita/image/kis_convolution_kernel.h:23,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:25:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:66:8: note: struct Eigen::half_impl::half
struct half : public __half {
^~~~
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:26:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:442:37: error: template argument 1 is invalid
inline double KoColorSpaceMaths<half>::clamp(double a)
^
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:442:37: error: template argument 2 is invalid
/«PKGBUILDDIR»/libs/pigment/KoColorSpaceMaths.h:442:54: error: ‘clamp’ is not a template function
inline double KoColorSpaceMaths<half>::clamp(double a)
^
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:217:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoRgbColorSpaceTraits.h:90:48: error: template argument 1 is invalid
struct KoRgbF16Traits : public KoRgbTraits<half> {
^
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:218:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoBgrColorSpaceTraits.h:90:48: error: template argument 1 is invalid
struct KoBgrF16Traits : public KoBgrTraits<half> {
^
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:219:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoGrayColorSpaceTraits.h:71:50: error: template argument 1 is invalid
struct KoGrayF16Traits : public KoGrayTraits<half> {
^
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:220:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoLabColorSpaceTraits.h:98:48: error: template argument 1 is invalid
struct KoLabF16Traits : public KoLabTraits<half> {
^
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:221:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoXyzColorSpaceTraits.h:92:48: error: template argument 1 is invalid
struct KoXyzF16Traits : public KoXyzTraits<half> {
^
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:222:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoYcbcrColorSpaceTraits.h:89:52: error: template argument 1 is invalid
struct KoYCbCrF16Traits : public KoYCbCrTraits<half> {
^
In file included from /«PKGBUILDDIR»/libs/pigment/KoColorSpaceTraits.h:223:0,
from /«PKGBUILDDIR»/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp:38:
/«PKGBUILDDIR»/libs/pigment/KoCmykColorSpaceTraits.h:106:50: error: template argument 1 is invalid
struct KoCmykF16Traits : public KoCmykTraits<half> {
^
https://github.com/AcademySoftwareFoundation/openvdb/pull/927