bug-gnustep
[Top][All Lists]
Advanced

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

Re: base working on Mac OS X 10.1.5


From: Andrew Pinski
Subject: Re: base working on Mac OS X 10.1.5
Date: Sun, 5 Dec 2004 12:14:21 -0500


On Dec 5, 2004, at 12:08 PM, Markus Hitter wrote:


Hello,

same again with a slimmed down set of patches. And a fixed typo (wrong variable name).


<diff-base><diff-make>


Markus

To fix this:
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/base/Source/Additions/GSObjCRuntime.m,v
retrieving revision 1.52
diff -u -r1.52 GSObjCRuntime.m
--- Source/Additions/GSObjCRuntime.m    29 Oct 2004 19:31:06 -0000      1.52
+++ Source/Additions/GSObjCRuntime.m    5 Dec 2004 17:05:52 -0000
@@ -62,8 +62,15 @@
 @end
 #endif

+// This does not work on Mac OS X 10.1.5/gcc-2.95.2
+#if 0
 #define BDBGPrintf(format, args...) \
do { if (behavior_debug) { fprintf(stderr, (format) , ## args); } } while (0)
+#else
+#define BDBGPrintf(format) if (behavior_debug) fprintf(stderr, (format))
+#define BDBGPrintf2(format, arg) \
+  if (behavior_debug) fprintf(stderr, (format), (arg))
+#endif

 static objc_mutex_t local_lock = NULL;

---
You just need to supply -no-cpp-preproces (or something like that).

-- Pinski





reply via email to

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