Re: syntax-check reject u_char u_short u_int u_long

2024-05-06 Thread Simon Josefsson via Gnulib discussion list
Thanks for +1 Bruno, I have pushed the commits below. More history or insight on how to think about use of these types would be great. My recollection was that these types were preferred for compatibility with ancient C tools that didn't parse 'unsigned char' etc. /Simon From 2adbe3be9e278cfc662

Re: syntax-check reject u_char u_short u_int u_long

2024-05-06 Thread Collin Funk
On 5/6/24 5:38 AM, Bruno Haible wrote: >> sc_unsigned_int: >> @prohibit=u''_int \ >> halt='don'\''t use u''_int; instead use unsigned int' \ >> $(_sc_search_regexp) > Sounds good to me. My only suggestion is to move the sc_unsigned_long > rule after the sc_unsigned_int rul

Re: syntax-check reject u_char u_short u_int u_long

2024-05-06 Thread Bruno Haible
Hi Simon, > How about adding inetutils u_* syntax-checks to gnulib's maint.mk? > > sc_unsigned_char: > @prohibit=u''_char \ > halt='don'\''t use u''_char; instead use unsigned char' \ > $(_sc_search_regexp) > > sc_unsigned_long: > @prohibit=u''_long \ >