[tor-bugs] #5969 [Tor Client]: A couple of compile warnings with clang 3.1

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed May 30 15:53:55 UTC 2012


#5969: A couple of compile warnings with clang 3.1
------------------------+---------------------------------------------------
 Reporter:  Sebastian   |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
Changes (by nickm):

  * status:  needs_review => new


Comment:

 For the first one, I'm going to be a little more radical and just make it
 use tor_asprintf() instead.  Committed that as a5a8296892441bf435 .

 For the second, I think all we can do is look for a way to suppress the
 warning.  It is completely correct that a function implementing vaprintf
 should take a format string as an argument as opposed to passing a
 constant string.

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


More information about the tor-bugs mailing list