User: ben
Date: 05/10/25 13:20:00
Modified: xemacs/src ChangeLog config.h.in
Log:
remove kludging of new and catch from config.h.in
config.h.in: Don't define new and catch under C++ any more.
(Places using new were just fixed by the last patch, places using
catch were fixed a couple of weeks ago.)
Revision Changes Path
1.876 +7 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.875
retrieving revision 1.876
diff -u -p -r1.875 -r1.876
--- ChangeLog 2005/10/25 11:16:19 1.875
+++ ChangeLog 2005/10/25 11:19:56 1.876
@@ -1,5 +1,12 @@
2005-10-25 Ben Wing <ben(a)xemacs.org>
+ * config.h.in (EXTERN_C):
+ Don't define new and catch under C++ any more.
+ (Places using new were just fixed by the last patch, places using
+ catch were fixed a couple of weeks ago.)
+
+2005-10-25 Ben Wing <ben(a)xemacs.org>
+
* EmacsFrame.c (EmacsFrameInitialize):
* EmacsFrame.c (EmacsFrameSetValues):
* ExternalClient.c:
1.102 +0 -4 XEmacs/xemacs/src/config.h.in
Index: config.h.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/config.h.in,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -p -r1.101 -r1.102
--- config.h.in 2005/10/14 01:21:59 1.101
+++ config.h.in 2005/10/25 11:19:58 1.102
@@ -1059,10 +1059,6 @@ extern "C" {
#ifndef NOT_C_CODE /* Actually means C or C++ */
# if defined (__cplusplus)
-/* Avoid C++ keywords used as ordinary C identifiers */
-# define new c_new
-# define catch c_catch
-
# define EXTERN_C extern "C"
# else /* C code */
# define EXTERN_C extern
Show replies by date