summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2002-07-25 13:27:20 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2002-07-25 13:27:20 +0000
commit9c152f0ebfd0875157221150b026607457a8be97 (patch)
treedd8684b6c0219de7fd40f276f61d86167ec124fc
parent4642fceebe71753856bc1243c555bcdc4cba0639 (diff)
downloadzsh-9c152f0ebfd0875157221150b026607457a8be97.tar.gz
zsh-9c152f0ebfd0875157221150b026607457a8be97.tar.xz
zsh-9c152f0ebfd0875157221150b026607457a8be97.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 246954fa7..d898e87e8 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.*