changeset 7998:a4acda9fc3e7

gripe_truncated_conversion: change warning id for potential compatibility
author John W. Eaton <jwe@octave.org>
date Wed, 30 Jul 2008 16:31:58 -0400
parents 2b8952e133c9
children f7f2d867c523
files src/ChangeLog src/gripes.cc
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Jul 30 15:20:13 2008 +0200
+++ b/src/ChangeLog	Wed Jul 30 16:31:58 2008 -0400
@@ -1,3 +1,8 @@
+2008-07-30  John W. Eaton  <jwe@octave.org>
+
+	* gripes.cc (gripe_truncated_conversion): Use the warning ID
+	Octave:int-convert-overflow.
+
 2008-07-30  Jaroslav Hajek <highegg@gmail.com>
 
 	* gripes.cc (gripe_truncated_conversion): New function.
--- a/src/gripes.cc	Wed Jul 30 15:20:13 2008 +0200
+++ b/src/gripes.cc	Wed Jul 30 16:31:58 2008 -0400
@@ -207,7 +207,7 @@
 extern void
 gripe_truncated_conversion (const char *srctype, const char *desttype)
 {
-  warning_with_id ("Octave:truncated_conversion", 
+  warning_with_id ("Octave:int-convert-overflow", 
                    "data truncated converting from %s to %s",
                    srctype, desttype);
 }