[tor-bugs] #2696 [Tor Relay]: Tor doesn't compile under LLVM/clang with --enable-gcc-warnings

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Mar 17 18:57:07 UTC 2011


#2696: Tor doesn't compile under LLVM/clang with --enable-gcc-warnings
-----------------------+----------------------------------------------------
 Reporter:  sjmurdoch  |          Owner:                    
     Type:  defect     |         Status:  needs_review      
 Priority:  minor      |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by Sebastian):

 The remaining issue is this:
 {{{
 clang: warning: argument unused during compilation: '-O2'
 }}}
 this is because we duplicate the -O2 argument:
 {{{
 /opt/local/bin/clang  -g -O2 -Wall -g -O2 ...
 }}}
 I'm not sure how to solve this, because I don't know where the first -g
 -O2 comes from.

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


More information about the tor-bugs mailing list