summaryrefslogtreecommitdiff
path: root/gdk/makefile.msc
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2002-01-05 19:07:13 +0000
committerHans Breuer <hans@src.gnome.org>2002-01-05 19:07:13 +0000
commitec81d4a8af83b77eae96b908c809a81381527d1a (patch)
treeeb4b072f375157b03764b5c00efebe5a0947e654 /gdk/makefile.msc
parent40cab0a2fbde365a3d436fa900b110954b648d67 (diff)
downloadgdk-pixbuf-ec81d4a8af83b77eae96b908c809a81381527d1a.tar.gz
need to cast image->mem away from void* to avoid 'error C2036: 'void *' :
2002-01-04 Hans Breuer <hans@breuer.org> * gdk/gdkdraw.c gdk/gdkpixbuf-drawable.c : need to cast image->mem away from void* to avoid 'error C2036: 'void *' : unknown size'. Doing pointer arithmetics on void pointers is a GCCism afaik. * gdk/gdkpixbuf-render.c : #include "gdkinternals.h" for _gdk_draw_pixbuf () * gdk/makefile.msc gdk/win32/makefile.msc gdk/gtk/makefile.msc.in : use -FI msvc_recommended_pragmas.h * gdk/win32/gdkdrawable-win32.c : use _gkd_win32_copy_to_image and take care of image->visual possibly NULL. * gdk/win32/gdkimage-win32.c : implement _gdk_image_new_for_depth(), _gdk_win32_copy_to_image() and _gdk_windowing_bits_for_depth(). Again take care of image->visual possibly NULL. * gdk/win32/gdkprivate-win32.h : declare _gdk_win32_copy_to_image() * gdk/win32/gdkevents-win32.c : use gdk_drawable_get_colormap instead of private field access * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : adapt colormap setting to the gdk-X behaviour
Diffstat (limited to 'gdk/makefile.msc')
-rw-r--r--gdk/makefile.msc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/makefile.msc b/gdk/makefile.msc
index 544ae1bbd..6ddcb2a7e 100644
--- a/gdk/makefile.msc
+++ b/gdk/makefile.msc
@@ -40,7 +40,8 @@ GDK_PIXBUF_VER=$(GTK_VER)
PERL = perl
!ENDIF
-CFLAGS = -I . -I .. $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I ../gdk-pixbuf \
+CFLAGS = -FImsvc_recommended_pragmas.h -I . -I .. \
+ $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I ../gdk-pixbuf \
$(G_DEBUGGING) -DHAVE_CONFIG_H -DGDK_ENABLE_BROKEN -DGDK_VERSION=\"$(GTK_VER)\"
EXTRALIBS = $(WTKIT)\lib\i386\wntab32x.lib $(GLIB_LIBS) \
..\gdk-pixbuf\gdk_pixbuf-$(GDK_PIXBUF_VER).lib $(PANGOWIN32_LIBS)
@@ -88,7 +89,6 @@ gdk_public_h_sources = \
gdk.h \
gdkcolor.h \
gdkcursor.h \
- gdkcursors.h \
gdkdnd.h \
gdkdrawable.h \
gdkevents.h \