#3891: Compiler warning on macOS 10.11.6 with Xcode 8.1
---------------------+----------------------
  Reporter:  chdiza  |      Owner:  mutt-dev
      Type:  defect  |     Status:  closed
  Priority:  major   |  Milestone:
 Component:  build   |    Version:
Resolution:  fixed   |   Keywords:
---------------------+----------------------
Changes (by Kevin McCarthy <kevin@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"0e0d54b5a384af16f0cfcf6b31bfa885bb9b50ad"
 6834:0e0d54b5a384]:
 {{{
 #!CommitTicketReference repository=""
 revision="0e0d54b5a384af16f0cfcf6b31bfa885bb9b50ad"
 Attempt to silence a clang range warning. (closes #3891)

 When TM_YEAR_MAX > INT_MAX, clang complains the comparison is always
 false.

 Note that this is really a compiler bug, which was fixed by gcc 9 years
 ago.
 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12963

 Thanks to Vincent Lefèvre for the suggested fix and the gcc bug reference.
 }}}

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3891#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to