MSVC build error in gdk-pixbuf
- From: John Emmas <johne53 tiscali co uk>
- To: gtk-devel-list <gtk-devel-list gnome org>
- Subject: MSVC build error in gdk-pixbuf
- Date: Fri, 11 Sep 2015 10:47:35 +0100
Hi guys. I'm hoping this is the right place to report a build error
with gdk-pixbuf (git master).
I updated a few days ago and I'm getting a compiler error at line 330 of
io-png.c which looks like this:-
for (i = 0, ptr = pixbuf->pixels; i < h; i++, ptr +=
pixbuf->rowstride)
MSVC is complaining that it can't increment 'ptr' (in the bit that says
"ptr += pixbuf->rowstride"). The compiler gives me error C2036
('gpointer' has unknown size). 'ptr' gets declared like this at line 271:-
gpointer ptr;
If I change the declaration to this:-
guchar *ptr;
It now compiles. Is that an acceptable change?
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]