[tor-bugs] #7977 [Tor]: Have autoconf detect signed enum

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 17 03:37:02 UTC 2013


#7977: Have autoconf detect signed enum
-----------------------------------------+----------------------------------
 Reporter:  nickm                        |          Owner:                    
     Type:  defect                       |         Status:  new               
 Priority:  minor                        |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor                          |        Version:                    
 Keywords:  tor-client cleanup autoconf  |         Parent:                    
   Points:                               |   Actualpoints:                    
-----------------------------------------+----------------------------------
 On MSVC, enums are always signed.  With #7305, we made an ENUM_BF macro to
 avoid problems with signed enums.  But that macro needs to know whether by
 default enum types are signed or not.  It would be better to detect this
 with autoconf than just to check for defined(_MSC)

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


More information about the tor-bugs mailing list