Use of lrint() in 'gdk-pixbuf/pixops/pixops.c'
- Date: Sat, 04 Feb 2017 14:52:37 +0000
- From: John Emmas via gtk-devel-list <gtk-devel-list@xxxxxxxxx>
- Subject: Use of lrint() in 'gdk-pixbuf/pixops/pixops.c'
Is this the right mailing list for gdk-pixbuf issues?
Commit #61e3edeb79 (6th Jan 2017) introduced these 2 calls in
'gdk-pixbuf/pixops/pixops.c' (at lines 1847 and 1848):-
tmp_width = lrint (src_width * prescale_x);
tmp_height = lrint (src_height * prescale_y);
AFAIK Microsoft's MSVC only introduced lrint() in VS2015 - so for those
of us building with an earlier version the above code won't link any
more. I took a quick look through glib, gtk+ (v2) and gdk-pixbuf but I
can't see lrint getting used anywhere else. Any chance of a fix? Thanks,
gtk-devel-list mailing list