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

Re: [tor-bugs] #4618 [Tor Relay]: Compiler warnings in transports.c



#4618: Compiler warnings in transports.c
-----------------------+----------------------------------------------------
 Reporter:  sjmurdoch  |          Owner:     
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Tor Relay  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------

Comment(by nickm):

 According to msdn, I think "_environ" is supposed to exist, as is
 "environ" (maybe).   The trick is how they're defined.  Looking in mingw's
 stdlib.h, I get this possibility:

 {{{
 # define _environ (*__p__environ())
 }}}

 So doing a second declaration is going to be a mess.  What happens if you
 just take out that declaration entirely?

 As for the second one, it does indeed look like that should be a char*.

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