Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2022 21:00:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268399] textproc/wv: fix build with clang 15
Message-ID:  <bug-268399-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 268399
           Summary: textproc/wv: fix build with clang 15
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dim@FreeBSD.org

During an exp-run for llvm 15 (see bug 265425), it turned out that textproc=
/wv
failed to build with clang 15:

  wvSummary.c:104:17: error: incompatible integer to pointer conversion
initializing 'const GValue *' (aka 'const struct _GValue *') with an expres=
sion
of type 'int' [-Wint-conversion]
    GValue const *val =3D gsf_doc_prop_get_val  (prop);
                  ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  wvSummary.c:146:21: error: incompatible integer to pointer conversion
initializing 'GsfDocMetaData *' (aka 'struct _GsfDocMetaData *') with an
expression of type 'int' [-Wint-conversion]
      GsfDocMetaData *meta_data =3D gsf_doc_meta_data_new ();
                      ^           ~~~~~~~~~~~~~~~~~~~~~~~~

Those functions are declared in <gsf/gsf-doc-meta-data.h>, but that header =
is
not included in wvSummary.c.

--=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-268399-7788>