FreeBSD Bugzilla – Attachment 236273 Details for
Bug 266146
Clang prints bogus warning: incompatible pointer types passing 'struct kinfo_proc *' to parameter of type 'struct kinfo_proc *' [-Wincompatible-pointer-types]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
clang-issue.c
clang-issue.c (text/plain), 241 bytes, created by
Yuri Victorovich
on 2022-08-31 22:03:38 UTC
(
hide
)
Description:
clang-issue.c
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2022-08-31 22:03:38 UTC
Size:
241 bytes
patch
obsolete
>#include <sys/param.h> >#include <sys/queue.h> >#include <sys/socket.h> >#include <libprocstat.h> > >#include <sys/user.h> // for struct kinfo_proc > >int main() { > struct kinfo_proc *kp; > struct procstat *pstat; > > procstat_freeprocs(pstat, kp); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 266146
: 236273