[tor-bugs] #11633 [Tor]: Quench a few warnings found with gcc-4.2 and clang

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 29 01:17:40 UTC 2014


#11633: Quench a few warnings found with gcc-4.2 and clang
------------------------+--------------------------------
     Reporter:  _x3j11  |      Owner:
         Type:  defect  |     Status:  needs_revision
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-client build
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by _x3j11):

 I wasn't getting warnings without making the CONST_TO_* versions return
 const, but I think it's probably a good idea to do so anyway. I've updated
 the first patch.

 I will have a think about the best way to address the NetBSD case (the
 second patch needs fixing anyway as it wasn't split correctly).

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


More information about the tor-bugs mailing list