Re: -Wstring-plus-int

2022-05-23 Thread Stuart Cassoff
Hi, -- Original Message -- From: t...@theobuehler.org To: 3...@bell.net Cc: ports@openbsd.org Sent: Saturday, May 21, 2022 3:14 AM Subject: Re: -Wstring-plus-int On Fri, May 20, 2022 at 04:34:22AM -0400, Stuart Cassoff wrote: > > I get 7 of these wa

Re: -Wstring-plus-int

2022-05-21 Thread Theo Buehler
On Fri, May 20, 2022 at 04:34:22AM -0400, Stuart Cassoff wrote: > > I get 7 of these warnings building Tclthread (summarized): > warning: adding 'int' to a string does not append to the string > [-Wstring-plus-int] > Happens here at "b+1": ((a) && (b)

-Wstring-plus-int

2022-05-20 Thread Stuart Cassoff
I get 7 of these warnings building Tclthread (summarized): warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] Happens here at "b+1": ((a) && (b) && (*(a)==*(b)) && (*(a+1)==*(b+1)) && (!strcmp((a),(b So I'm wond