[Pidgin] #2281: msimprpl: 0.12 doesn't build on gcc 4.1.2 (Fedora 7)
Pidgin
trac at pidgin.im
Thu Jul 26 23:47:51 EDT 2007
#2281: msimprpl: 0.12 doesn't build on gcc 4.1.2 (Fedora 7)
------------------------+---------------------------------------------------
Reporter: mkanat | Owner: jeff
Type: defect | Status: assigned
Priority: minor | Milestone:
Component: libpurple | Version: 2.0.2
Resolution: | Keywords: msimprpl
Pending: 1 |
------------------------+---------------------------------------------------
Changes (by jeff):
* pending: 0 => 1
Comment:
It seems that round() is new in C99. Try adding this to myspace.c, after
the function prototypes:
{{{
#ifndef round
double round(double round);
/* Based on http://forums.belution.com/en/cpp/000/050/13.shtml */
double round(double value)
{
if (value < 0)
return -(floor(-value + 0.5));
else
return floor( value + 0.5);
}
#endif
}}}
(Change committed in ae9bc56f7aa57ee5f0be9f48167acdd79c55a33a .)
--
Ticket URL: <http://developer.pidgin.im/ticket/2281#comment:4>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list