[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for gnustep-gui-0.10.3/Source/NSBitmapRep+JPEG.m on mingw / wi

From: Adam Fedor
Subject: Re: Patch for gnustep-gui-0.10.3/Source/NSBitmapRep+JPEG.m on mingw / win32
Date: Wed, 19 Apr 2006 15:38:19 -0600

I added something similar to this. Thanks.

On 2006-03-15 22:20:49 -0700 Issac Trotts <issac.trotts@gmail.com> wrote:

I was getting this error

Compiling file NSBitmapImageRep+JPEG.m ...
In file included from
                from NSBitmapImageRep+JPEG.m:39:
error: conflicting types for 'INT32'
error: previous declaration of 'INT32' was here
make[2]: *** [shared_obj/NSBitmapImageRep+JPEG.o] Error 1
make[1]: *** [libgnustep-gui.all.library.variables] Error 2
make[1]: Leaving directory `/c/downloads/gnustep/gnustep-gui-0.10.3/Source'
make: *** [internal-all] Error 2

until I made this change:

$ diff -Naur NSBitmapImageRep+JPEG.m{.bak,}
--- NSBitmapImageRep+JPEG.m.bak Tue Mar 14 21:59:53 2006
+++ NSBitmapImageRep+JPEG.m     Tue Mar 14 21:59:57 2006
@@ -36,6 +36,10 @@
#include "AppKit/NSGraphics.h"

#include <jerror.h>
+/* This define is a workaround so that INT32 is not redefined in jmorecfg.h
+   from its previous definition in basetsd.h.  -ijt */
+#define XMD_H
#include <jpeglib.h>

#include <setjmp.h>

- Issac

Discuss-gnustep mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]