Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Dec 2022 15:24:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268277] textproc/scdoc: fix build with clang 15
Message-ID:  <bug-268277-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 268277
           Summary: textproc/scdoc: 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: jbeich@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
          Assignee: jbeich@FreeBSD.org

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

  In file included from src/main.c:12:
  include/str.h:10:23: error: a function declaration without a prototype is
deprecated in all versions of C [-Werror,-Wstrict-prototypes]
  struct str *str_create();
                        ^
                         void
  1 error generated.

This is because -Wstrict-prototypes now requires functions taking no parame=
ters
to be declared with "(void)".

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