Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jan 2023 15:31:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268814] www/varnish7: fix build with clang 15
Message-ID:  <bug-268814-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 268814
           Summary: www/varnish7: 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: dbaio@freebsd.org
          Reporter: dim@FreeBSD.org
          Assignee: dbaio@freebsd.org
             Flags: maintainer-feedback?(dbaio@freebsd.org)

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

  adler32.c:189:15: error: a function definition without a prototype is
deprecated in all versions of C and is not supported in C2x
[-Werror,-Wdeprecated-non-prototype]
  uLong ZEXPORT adler32(adler, buf, len)
                ^

This is because varnish needlessly builds with -Werror. Turn it off, so the
warnings can simply be ignored.

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