Ticket #1270 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

rtorrent revision 1040 not compiling xmlrpc

Reported by: stephen@goatonabicycle.com Owned by: rakshasa
Priority: normal Component: rtorrent
Version: HEAD Severity: normal
Keywords: Cc:

Description

when I attempt to compile the latest revision I get this output:

xmlrpc.cc: In function ‘rpc::target_type rpc::xmlrpc_to_target(xmlrpc_env*, xmlrpc_value*)’:
xmlrpc.cc:213: error: jump to case label
xmlrpc.cc:156: error:   crosses initialization of ‘core::Download* download’
xmlrpc.cc: In function ‘torrent::Object rpc::xmlrpc_to_object(xmlrpc_env*, xmlrpc_value*, int, rpc::target_type*)’:
xmlrpc.cc:284: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [xmlrpc.o] Error 1

I'm using libxmlrpc-c3 (1.06.17-0ubuntu4) installed from the official ubuntu repositories. I had no issue compiling the latest libtorrent and rtorrent compiled correctly previously

Change History

Changed 4 years ago by anonymous

Changed 4 years ago by stephen@goatonabicycle.com

so it is, and the fix detailed there seems to work so far. Sorry for the dupe ticket

Changed 4 years ago by rakshasa

  • status changed from new to closed
  • resolution set to duplicate
Note: See TracTickets for help on using tickets.