Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6416 closed defect (fixed)

tor current compile breakage circuitbuild.c - dual def'n of transport_t

Reported by: yancm Owned by:
Priority: High Milestone: Tor: 0.2.4.x-final
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Keywords: tor-client
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


In file included from circuitbuild.c:29:
transports.h:28: error: redefinition of typedef 'transport_t'
circuitbuild.h:140: error: previous declaration of 'transport_t' was here
* Error code 1

make: stopped in /usr/local/src/tor/src/or
* Error code 1

Developers need to harmonize transports.h:28 and circuitbuild.h:140

Child Tickets

Change History (4)

comment:1 Changed 8 years ago by nickm

Milestone: Tor: 0.2.4.x-final
Resolution: fixed
Status: newclosed

eww. Should be fixed in 24451e6f7d6813642cc3.

I wonder why my GCC (4.7.0) didn't complain. What compiler are you on?

comment:2 Changed 8 years ago by yancm

I can confirm it compiles fine for me now.

I'm running gcc 4.1.3 under NetBSD 5.1_Stable. Maybe a compiler regression? Or some checking flag has changed default values?

I just checked and NetBSD next (6_Beta) is using gcc 4.5.3...


comment:3 Changed 8 years ago by nickm

Keywords: tor-client added

comment:4 Changed 8 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.