>>>>"RR" == Rick Rankin
<rrankin1424-xemacs(a)yahoo.com> writes:
RR> I have no idea whether or not
this is the right thing to do, but
RR> it works for Cygwin.
I see some problems with Rick's patch:
RR> #ifdef DEBUG_XEMACS
RR> eq_with_ebola_notice /* EQ_WITH_EBOLA_NOTICE */
RR> +error_check_cons
The error_check_* symbols have to be conditioned on ERROR_CHECK_TYPES,
not on DEBUG_XEMACS.
RR> +error_check_ldap
This has to be conditioned on HAVE_LDAP. Only with HAVE_LDAP the
lrecord type `ldap' gets instantiated in inline.c.
RR> +error_check_pgconn
RR> +error_check_pgresult
This has to be conditioned on HAVA_POSTGRESQL, for the same reason as
above.
RR> +error_check_string
The new GC string implementation requires that two more symbols are
added: error_check_direct_string_data and
error_check_indirect_string_data.
RR> +#ifdef DEBUG_XEMACS
RR> +wrap_record_1
RR> +#endif
[...]
RR> +#ifdef DEBUG_XEMACS
RR> +XINT_1
RR> +#endif
Both symbols have to be conditioned on ERROR_CHECK_TYPES.
The patch below repairs it, my other patch
<87zmnpwst0.fsf(a)informatik.uni-tuebingen.de> is no longer needed.
>>>>"SJT" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
SJT> Aaaaaarrgh!!!! I was ready to release
21.5.24 (tarballs are
SJT> already built)
Stephen, it seems that not many people are using Cygwin anyway, so I
think this patch can wait until the release is out. No need to redo
the whole work for the third time!
src/ChangeLog addition:
2005-11-29 Marcus Crestani <crestani(a)xemacs.org>
* xemacs.def.in.in: Condition error_check_* symbols on
ERROR_CHECK_TYPES.
Index: src/xemacs.def.in.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/xemacs.def.in.in,v
retrieving revision 1.12
diff -u -r1.12 xemacs.def.in.in
--- src/xemacs.def.in.in 29 Nov 2005 08:38:32 -0000 1.12
+++ src/xemacs.def.in.in 29 Nov 2005 13:09:52 -0000
@@ -82,12 +82,22 @@
eputenv
#ifdef DEBUG_XEMACS
eq_with_ebola_notice /* EQ_WITH_EBOLA_NOTICE */
+#endif
+#ifdef ERROR_CHECK_TYPES
error_check_cons
+#ifdef HAVA_LDAP
error_check_ldap
+#endif
error_check_opaque_ptr
+#ifdef HAVE_POSTGRESQL
error_check_pgconn
error_check_pgresult
+#endif
error_check_string
+#ifdef NEW_GC
+error_check_string_direct_data
+error_check_string_indirect_data
+#endif
#endif
free_opaque_ptr
get_coding_system_for_text_file
@@ -150,7 +160,7 @@
vector2
vector3
warn_when_safe
-#ifdef DEBUG_XEMACS
+#ifdef ERROR_CHECK_TYPES
wrap_record_1
#endif
write_c_string
@@ -196,7 +206,7 @@
Fsignal
Fthrow
Fvector
-#ifdef DEBUG_XEMACS
+#ifdef ERROR_CHECK_TYPES
XINT_1
#endif
--
Marcus