Opened 14 years ago

Closed 14 years ago

#304 closed Bug (fixed)

libtransmission/platform.c fails to compile in WIN32 because it is not in sync with the latest tr_list_t api

Reported by: lubomir.marinov Owned by:
Priority: Normal Milestone: 0.90
Component: libtransmission Version: 0.82+
Severity: Normal Keywords:


I'm trying to compile libtransmission from revision 2768 on win32 using mingw (with gcc in version 3.4.5).

The signatures of tr_list_append, tr_list_remove_data and tr_list_free have recently been modified and sections of libtransmission/platform.c that use them and are conditionally compiled when defined(WIN32) have not been updated to reflect the latest tr_list_t API changes in question. For the sake of clarity, the definitions of the three functions in the latest tr_list_t API have be modified to accept tr_list_t as their first argument and the return type of tr_list_append and tr_list_remove_data has been changed to void. As a result, the compilation of libtransmission on win32 using mingw fails because platform.c has compile errors.

Attachments (1)

Reflect-latest-tr_list_t-API-in-platform_c.patch (980 bytes) - added by lubomir.marinov 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by lubomir.marinov

comment:1 Changed 14 years ago by livings124

  • Milestone 0.81 deleted

Only devs set milestones.

comment:2 Changed 14 years ago by charles

  • Milestone set to 0.90
  • Resolution set to fixed
  • Status changed from new to closed

fixed in r2865. thanks...

Note: See TracTickets for help on using tickets.