NOTE: This patch has been committed.
src/ChangeLog addition:
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.)
build source patch:
Diff command: bash -ci "cvs-diff --show-c-function -no-changelog "
Files affected: src/config.h.in
Index: src/config.h.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/config.h.in,v
retrieving revision 1.101
diff -u -p -r1.101 config.h.in
--- src/config.h.in 2005/10/14 01:21:59 1.101
+++ src/config.h.in 2005/10/25 11:18:45
@@ -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