[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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:                    
------------------------+---------------------------------------------------

Comment(by Sebastian):

 Unfortunately that's not yet the whole fix, these two errors get
 introduced by it:

 {{{
 log.c:273:37: error: format string is not a string literal [-Werror
 ,-Wformat-nonliteral]
   r = tor_vsnprintf(buf+n,buf_len-n,format,ap);
                                     ^~~~~~

 control.c:619:29: error: format string is not a string literal [-Werror
 ,-Wformat-nonliteral]
   len = tor_vasprintf(&buf, format, ap);
                             ^~~~~~

 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5969#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs