about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2002-07-25 13:27:06 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2002-07-25 13:27:06 +0000
commit330ecf3b0c37173ad39d97c0ee4ce54e531ba1e6 (patch)
tree417f00111198272a229f1abe9b6aef1bb377fd26
parent2218368040afbfc88bd736ed17d082416dbf2662 (diff)
downloadzsh-330ecf3b0c37173ad39d97c0ee4ce54e531ba1e6.tar.gz
zsh-330ecf3b0c37173ad39d97c0ee4ce54e531ba1e6.tar.xz
zsh-330ecf3b0c37173ad39d97c0ee4ce54e531ba1e6.zip
17481 from Karl Tomlinson: turn off variable arrays for SGI compiler.
-rw-r--r--ChangeLog6
-rw-r--r--Etc/MACHINES5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f47cd106..9bcd5b23f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-25  Peter Stephenson  <pws@csr.com>
+
+	* 17481: Etc/MACHINES: from Karl Tomlinson
+	<k.tomlinson@auckland.ac.nz>: the SGI compiler needs to be told
+	to turn off variable length arrays.
+
 2002-07-24  Clint Adams  <clint@zsh.org>
 
 	* 17479: Doc/Zsh/arith.yo: fix typo noticed by Martin Pool.
diff --git a/Etc/MACHINES b/Etc/MACHINES
index 3b62f27e3..07a45c909 100644
--- a/Etc/MACHINES
+++ b/Etc/MACHINES
@@ -147,6 +147,11 @@ SGI: IRIX 6.2, 6.3, 6.5
 	On 6.5.2, zsh malloc routines are reported not to work; also
 	full optimization (cc -O3 -OPT:Olimit=0) causes problems.
 
+	If using the SGI compiler, variable length arrays need to
+	be turned off.  configure can work this out for itself if it
+	is passed the option --enable-cflags='-LANG:vla=off -O' (combined
+	with other flags if necessary).
+
 	The zpty module is not currently supported.
 
 Sun: SunOS 4.1.*