[Bug 266146] Clang prints bogus warning: incompatible pointer types passing 'struct kinfo_proc *' to parameter of type 'struct kinfo_proc *' [-Wincompatible-pointer-types]

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 31 Aug 2022 22:03:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266146

            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=236273&action=edit
clang-issue.c

Both types are identical - how come they are incompatible?

clang-14.0.5

-- 
You are receiving this mail because:
You are the assignee for the bug.