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

[tor-bugs] #5173 [Tor Client]: `extern char **environ; ` is not always harmless



#5173: `extern char **environ;` is not always harmless
------------------------+---------------------------------------------------
 Reporter:  rransom     |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  blocker     |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 SwissTorExit reports a compile error on Kubuntu 11.10 amd64, with GCC
 4.6.1:
 {{{
 compat.c:1667:15: erreur: 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
 }}}

 Apparently `extern char **environ;` isn't always harmless.

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