Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2022 22:03:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 266146] Clang prints bogus warning: incompatible pointer types passing 'struct kinfo_proc *' to parameter of type 'struct kinfo_proc *' [-Wincompatible-pointer-types]
Message-ID:  <bug-266146-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 266146
           Summary: Clang prints bogus warning: incompatible pointer types
                    passing 'struct kinfo_proc *' to parameter of type
                    'struct kinfo_proc *' [-Wincompatible-pointer-types]
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org
 Attachment #236273 text/plain
         mime type:

Created attachment 236273
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236273&action=
=3Dedit
clang-issue.c

Both types are identical - how come they are incompatible?

clang-14.0.5

--=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-266146-227>