[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 16:13:04 UTC 2012


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

  * status:  new => needs_review


Comment:

 I think I've got a possible fix; see bug5969_022 in my public repo.  I
 have made sure it builds, but haven't tested it with clang 3.1.  It tells
 the compiler that the v*printf/v*scanf functions receive a format string,
 which may suffice to keep clang from warning in this case.

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


More information about the tor-bugs mailing list