Ticket #1270 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

rtorrent revision 1040 not compiling xmlrpc

Reported by: stephen@goatonabicycle.com Owned by: rakshasa
Priority: normal Milestone:
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

Attachments

Change History

Changed 2 years ago by anonymous

Changed 2 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 2 years ago by rakshasa

  • status changed from new to closed
  • resolution set to duplicate

Add/Change #1270 (rtorrent revision 1040 not compiling xmlrpc)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.