Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2018 09:00:40 +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-qlAvNt2xrR@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

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|editors/openoffice-4: fails |editors/openoffice-{4,devel
                   |to build with clang 6.0     |}: fails to build with
                   |                            |clang 6.0

--- Comment #2 from Jan Beich <jbeich@FreeBSD.org> ---
-devel port is also affected

vcl/unx/headless/svptext.cxx:157:40: error: comparison between pointer and
integer ('void *' and 'sal_Int32' (aka 'int'))
    if( rGlyphData.ExtDataRef().mpData !=3D Format::NONE )
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~
vcl/unx/gtk/a11y/atkutil.cxx:781:13: error: non-constant-expression cannot =
be
narrowed from type 'guint' (aka 'unsigned int') to 'guint16' (aka 'unsigned
short') in initializer list [-Wc++11-narrowing]
            type_query.class_size,
            ^~~~~~~~~~~~~~~~~~~~~
vcl/unx/gtk/a11y/atkutil.cxx:781:13: note: insert an explicit cast to silen=
ce
this issue
            type_query.class_size,
            ^~~~~~~~~~~~~~~~~~~~~
            static_cast<guint16>()
vcl/unx/gtk/a11y/atkutil.cxx:787:13: error: non-constant-expression cannot =
be
narrowed from type 'guint' (aka 'unsigned int') to 'guint16' (aka 'unsigned
short') in initializer list [-Wc++11-narrowing]
            type_query.instance_size,
            ^~~~~~~~~~~~~~~~~~~~~~~~
vcl/unx/gtk/a11y/atkutil.cxx:787:13: note: insert an explicit cast to silen=
ce
this issue
            type_query.instance_size,
            ^~~~~~~~~~~~~~~~~~~~~~~~
            static_cast<guint16>(   )
vcl/unx/gtk/a11y/atkwindow.cxx:294:13: error: non-constant-expression canno=
t be
narrowed from type 'guint' (aka 'unsigned int') to 'guint16' (aka 'unsigned
short') in initializer list [-Wc++11-narrowing]
            type_query.class_size,
            ^~~~~~~~~~~~~~~~~~~~~
vcl/unx/gtk/a11y/atkwindow.cxx:294:13: note: insert an explicit cast to sil=
ence
this issue
            type_query.class_size,
            ^~~~~~~~~~~~~~~~~~~~~
            static_cast<guint16>()
vcl/unx/gtk/a11y/atkwindow.cxx:300:13: error: non-constant-expression canno=
t be
narrowed from type 'guint' (aka 'unsigned int') to 'guint16' (aka 'unsigned
short') in initializer list [-Wc++11-narrowing]
            type_query.instance_size,
            ^~~~~~~~~~~~~~~~~~~~~~~~
vcl/unx/gtk/a11y/atkwindow.cxx:300:13: note: insert an explicit cast to sil=
ence
this issue
            type_query.instance_size,
            ^~~~~~~~~~~~~~~~~~~~~~~~
            static_cast<guint16>(   )
sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:124:41: error: constant
expression evaluates to 137 which cannot be narrowed to type 'Output_t' (aka
'char') [-Wc++11-narrowing]
    static const Output_t aHeader[] =3D { 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0=
a,
0x1a, 0x0a };
                                        ^~~~
sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:124:41: note: insert an
explicit cast to silence this issue
    static const Output_t aHeader[] =3D { 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0=
a,
0x1a, 0x0a };
                                        ^~~~
                                        static_cast<Output_t>( )

--=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-qlAvNt2xrR>