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

[tor-bugs] #5161 [Tor Client]: build error: redundant redeclaration of âenvironâ



#5161: build error: redundant redeclaration of âenvironâ
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 git commit efb7b9dec13 added
 {{{
 #ifndef HAVE__NSGETENVIRON
 /* FreeBSD needs this; it doesn't seem to hurt other platforms. */
 extern char **environ;
 #endif
 }}}

 But on my Debian testing with --enable-gcc-warnings, I get
 {{{
 compat.c:1667:15: error: redundant redeclaration of âenvironâ [-Werror
 =redundant-decls]
 /usr/include/unistd.h:542:15: note: previous declaration of âenvironâ was
 here
 cc1: all warnings being treated as errors
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5161>
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