diff liboctave/Array3.h @ 11570:57632dea2446

attempt better backward compatibility for Array constructors
author John W. Eaton <jwe@octave.org>
date Wed, 19 Jan 2011 17:55:56 -0500
parents fd0a3ac60b0e
children 12df7854fa7c
line wrap: on
line diff
--- a/liboctave/Array3.h
+++ b/liboctave/Array3.h
@@ -83,4 +83,9 @@
     }
 };
 
+// If we're with GNU C++, issue a warning.
+#ifdef __GNUC__
+#warning Using Array3<T> is deprecated. Use Array<T> directly.
 #endif
+
+#endif