changeset 38061:bef7906aca9a

Document problems with OPENSTEP's gcc. Provide a work-around.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 15 Jun 2001 11:37:56 +0000
parents 6771cc3c3b67
children 3561e61ffccc
files etc/PROBLEMS
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/PROBLEMS	Fri Jun 15 11:31:11 2001 +0000
+++ b/etc/PROBLEMS	Fri Jun 15 11:37:56 2001 +0000
@@ -729,6 +729,25 @@
 another system with Solaris 8 using apparently the same 5.0 compiler
 and the default CFLAGS.
 
+* Compiling syntax.c with the OPENSTEP 4.2 compiler gcc 2.7.2.1 fails.
+
+The compiler was reported to crash while compiling syntax.c with the
+following message:
+
+   cc: Internal compiler error: program cc1obj got fatal signal 11
+
+To work around this, replace the macros UPDATE_SYNTAX_TABLE_FORWARD,
+INC_BOTH, and INC_FROM with functions.  To this end, first define 3
+functions, one each for every macro.  Here's an example:
+
+    static int update_syntax_table_forward(int from)
+    {
+        return(UPDATE_SYNTAX_TABLE_FORWARD(from));
+    }/*update_syntax_table_forward*/
+
+Then replace all references to UPDATE_SYNTAX_TABLE_FORWARD in syntax.c
+with a call to the function update_syntax_table_forward.
+
 * Attempting to visit remote files via ange-ftp fails.
 
 If the error message is "ange-ftp-file-modtime: Specified time is not