Re: proposal: remove traditional C support from lint
RVP <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.toolchain,gmane.os.netbsd.devel.userlevel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 18 Mar 2021, Thomas Klausner wrote: > with -S, one more warning is removed, but still a lot remain: > > inttypes.h(66): warning: struct _locale never defined [233] > ansi.h(51): warning: struct __tag_wctrans_t never defined [233] > ansi.h(54): warning: struct __tag_wctype_t never defined [233] > types.h(323): warning: struct kauth_cred never defined [233] > pthread_types.h(61): warning: struct __pthread_st never defined [233] > pthread_types.h(70): warning: struct __pthread_spin_st never defined [233] > time.h(146): warning: struct sigevent never defined [233] > time.h(198): warning: struct __state never defined [233] Add `-z' for those. I also usually add `-nu' because /usr/libdata/llib-lc.ln is MIA in 9.1_STABLE. -RVP