#3794: Complier warnings on OS X 10.11.1 with Xcode 7.1.1
--------------------+---------------------
 Reporter:  chdiza  |      Owner:  brendan
     Type:  defect  |     Status:  new
 Priority:  minor   |  Milestone:
Component:  SMTP    |    Version:
 Keywords:          |
--------------------+---------------------
 Just pulled the latest, with the 4-part patch for SMTP enhancement.  After
 this patch I see a compiler warning that wasn't there before:
 {{{
 gcc -DPKGDATADIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\"
 -DBINDIR=\"/usr/local/bin\" -DMUTTLOCALEDIR=\"/usr/local/share/locale\"
 -DHAVE_CONFIG_H=1 -I.  -I. -I. -I./imap  -Iintl -I/usr/local/ssl/include
 -I./intl  -Wall -pedantic -Wno-long-long -g -O2 -MT account.o -MD -MP -MF
 .deps/account.Tpo -c -o account.o account.c
 smtp.c:247:27: warning: comparison of constant 128 with expression of type
 'const char' is always true [-Wtautological-constant-out-of-range-compare]
   while(a && *a > 0 && *a < 128)
                        ~~ ^ ~~~
 }}}

 Probably not a big deal, but seemed worth mentioning.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3794>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to