Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jan 2023 20:00:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268789] multimedia/mplayer: fix build with clang 15
Message-ID:  <bug-268789-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 268789
           Summary: multimedia/mplayer: 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: riggs@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(riggs@FreeBSD.org)
          Assignee: riggs@FreeBSD.org

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

  libmpcodecs/vd_ffmpeg.c:742:24: error: incompatible integer to pointer
conversion assigning to 'unsigned char *' from 'VdpVideoSurface' (aka 'unsi=
gned
int') [-Wint-conversion]
          mpi->planes[3] =3D surface;
                         ^ ~~~~~~~

This is because clang 15 now makes the warning about this incompatible
conversion into an error by default. Add a cast to suppress the warning.

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