[Bug 225129] editors/openoffice-{4, devel}: fails to build with clang 6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 16 18:06:20 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225129

Don Lewis <truckman at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |truckman at FreeBSD.org

--- Comment #3 from Don Lewis <truckman at FreeBSD.org> ---
I think those errors go away with -std=c++98, however with that flag, I now see
a number of errors like this:

In file included from
/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.5/main/basebmp/source/bitmapdevice.cxx:36:
In file included from ../inc/basebmp/colorblendaccessoradapter.hxx:27:
In file included from ../inc/basebmp/colortraits.hxx:30:
/usr/local/include/vigra/mathutil.hxx:172:1: error: no viable conversion from
returned value of type 'unsigned long long' to function return type
'NumericTraits<unsigned long long>::Promote' (aka
'vigra::Error_NumericTraits_not_specialized_for_this_case')
VIGRA_DEFINE_SCALAR_DOT(unsigned long long)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/vigra/mathutil.hxx:166:61: note: expanded from macro
'VIGRA_DEFINE_SCALAR_DOT'
    inline NumericTraits<T>::Promote dot(T l, T r) { return l*r; }
                                                            ^~~
/usr/local/include/vigra/numerictraits.hxx:502:8: note: candidate constructor
(the implicit copy constructor) not viable: no known conversion from 'unsigned
long long' to 'const vigra::Error_NumericTraits_not_specialized_for_this_case
&' for 1st argument
struct Error_NumericTraits_not_specialized_for_this_case { };
       ^

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-office mailing list