[tor-bugs] #24568 [Core Tor/Tor]: I get a warn error every time I build tor from source

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 9 02:15:10 UTC 2017


#24568: I get a warn error every time I build tor from source
-------------------------------+--------------------
     Reporter:  Dbryrtfbcbhgf  |      Owner:  (none)
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 I get a warn error every time I build tor from source. I'm running macOS
 and using Xcode 9.2

 {{{
 Tor 0.3.2.6
 }}}
 {{{
 '''src/or/rendservice.c:1910:29: warning: comparison of integers of
 different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long')
 [-Wsign-compare]'''

     parsed_req->ciphertext, MIN(parsed_req->ciphertext_len, keylen),

 '''                            ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~'''

 '''/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/param.h:215:23:
 note: '''expanded from macro 'MIN'

 #define MIN(a,b) (((a)<(b))?(a):(b))
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24568>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list