[tor-bugs] #9254 [Tor]: tor-0.2.4.x compilation
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jul 15 03:31:54 UTC 2013
#9254: tor-0.2.4.x compilation
----------------------+-----------------------------------------------------
Reporter: grarpamp | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version: Tor: 0.2.4.15-rc
Keywords: | Parent:
Points: | Actualpoints:
----------------------+-----------------------------------------------------
Comment(by nickm):
Strange! The code in question is
{{{
n += TO_OR_CIRCUIT((circuit_t*)c)->p_chan_cells.n;
}}}
And that warning usually means that you're calling TO_OR_CIRCUIT with a
const pointer when it only takes a non-const one. But we *are* calling it
with a non-const pointer -- we're casting c to circuit_t*.
This warning doesn't seem to occur on other platforms, as far as I know.
Could the FreeBSD gcc be doing something unusual here?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9254#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list