[tor-bugs] #4437 [Tor Client]: Compile warnings when using --disable-threads

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Nov 9 02:30:43 UTC 2011


#4437: Compile warnings when using --disable-threads
------------------------+---------------------------------------------------
 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:                    
------------------------+---------------------------------------------------

Comment(by nickm):

 I don't like the definition of STMT_VOID -- for some possible arguments,
 it evaluates the argument, when really we want the
 argument to only "count as" used.  So maybe a better definition would be
 something like "while (0) { (void)(m); }" ?

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


More information about the tor-bugs mailing list