changeset 12486:32279948bf3b

Document the Octave:autoload-relative-file-name warning.
author Thomas Weber <tweber@debian.org>
date Sun, 20 Feb 2011 19:13:03 +0000
parents f5a5e5252b5a
children bac54daffde2
files scripts/ChangeLog scripts/miscellaneous/warning_ids.m
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -55,6 +55,11 @@
 
 	* pkg/get_forge_pkg.m: Fix typo in new PCRE style regular expression.
 
+2011-02-20  Thomas Weber <tweber@debian.org>
+
+	* miscellaneous/warning_ids.m: Document
+	Octave::autoload-relative-file-name warning.
+
 2010-02-19  Rik  <octave@nomad.inbox5.com>
 
 	* io/dlmwrite.m, pkg/get_forge_pkg.m, plot/__gnuplot_ginput__.m,
--- a/scripts/miscellaneous/warning_ids.m
+++ b/scripts/miscellaneous/warning_ids.m
@@ -109,6 +109,15 @@
 ## compatibility.  By default, the @code{Octave:associativity-change}
 ## warning is enabled.
 ##
+## @item Octave:autoload-relative-file-name
+## If the @code{Octave:autoload-relative-file-name} is enabled,
+## Octave will warn when parsing autoload() function calls with relative
+## paths to function files. This usually happens when using autoload()
+## calls in PKG_ADD files, when the PKG_ADD file is not in the same
+## directory as the .oct file referred to by the autoload() command.
+## By default, the @code{Octave:autoload-relative-file-name}
+## warning is enabled.
+##
 ## @item Octave:divide-by-zero
 ## If the @code{Octave:divide-by-zero} warning is enabled, a
 ## warning is issued when Octave encounters a division by zero.  By