tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: proposal: remove traditional C support from lint



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



Home | Main Index | Thread Index | Old Index