Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Compiler warning after workers/39825



On Mon, Nov 7, 2016, at 11:08 PM, Sebastian Gniazdowski wrote:
> On Mon, Nov 7, 2016, at 03:50 PM, Bart Schaefer wrote:
> > ../../zsh-5.0/Src/utils.c: In function `mb_metastrlenend':
> > ../../zsh-5.0/Src/utils.c:5344: warning: comparison is always true due to
> > limited range of data type
> > 
> > commit 9c68ef08
> 
> Probably an enlightenment is scheduled on this, but first

Ah, the (mild) enlightenment is: char can be signed / unsigned. Wonder
if this can have any actual implications as 7f is AFAIK still in
unsigned range. For sure there are some techniques of solving such
portability problems hm

-- 
  Sebastian Gniazdowski
  psprint@xxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author