Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2018 18:06:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 225129] editors/openoffice-{4, devel}: fails to build with clang 6.0
Message-ID:  <bug-225129-25061-cbgxSJLMBW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225129-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225129-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225129

Don Lewis <truckman@FreeBSD.org> changed:

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

--- Comment #3 from Don Lewis <truckman@FreeBSD.org> ---
I think those errors go away with -std=3Dc++98, however with that flag, I n=
ow 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 fr=
om
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 construct=
or
(the implicit copy constructor) not viable: no known conversion from 'unsig=
ned
long long' to 'const vigra::Error_NumericTraits_not_specialized_for_this_ca=
se
&' for 1st argument
struct Error_NumericTraits_not_specialized_for_this_case { };
       ^

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225129-25061-cbgxSJLMBW>