[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62210: Status uf NS port?
From: |
Robert Pluim |
Subject: |
bug#62210: Status uf NS port? |
Date: |
Tue, 04 Apr 2023 14:20:26 +0200 |
>>>>> On Tue, 04 Apr 2023 13:05:18 +0200, Michael Albinus
>>>>> <michael.albinus@gmx.de> said:
Michael> Alan Third <alan@idiocy.org> writes:
Michael> Hi Alan,
>> I never managed to work out how to build against gnustep with GCC.
>> Clang worked absolutely fine.
>>
>> FWIW, gnustep != macOS. Gnustep has very few users, and in all the
>> years the gnustep port of Emacs was entirely broken we didn't receive
>> a single bug report about it. Except maybe from Martin, but he was
>> only using it as a test bed.
Michael> Thanks for the feedback. I've commented out the GNUSTEP jobs on
EMBA
Michael> (again), until somebody provides running build instructions.
If the issue is the amount of warnings produced by the build, the
following reduces those to almost nothing on a '--with-ns' build on
Debian testing.
diff --git a/src/nsgui.h b/src/nsgui.h
index 469aef13070..3b977e531a5 100644
--- a/src/nsgui.h
+++ b/src/nsgui.h
@@ -31,8 +31,20 @@ #define Cursor FooFoo
#undef verify
+#ifdef NS_IMPL_GNUSTEP
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wexpansion-to-defined"
+#pragma GCC diagnostic ignored "-Wold-style-definition"
+#pragma GCC diagnostic ignored "-Wstrict-prototypes"
+#pragma GCC diagnostic ignored "-Wredundant-decls"
+#endif
+
#import <AppKit/AppKit.h>
+#ifdef NS_IMPL_GNUSTEP
+#pragma GCC diagnostic pop
+#endif
+
#ifdef NS_IMPL_COCOA
#undef Cursor
#endif /* NS_IMPL_COCOA */