changeset 24558:e721ca8bb801

restore f77_exception_encountered, but deprecate and always define as 0 * f77-fcn.h (f77_exception_encountered): Restore previously deleted variable as static const value set to 0 and tagged as deprecated.
author John W. Eaton <jwe@octave.org>
date Mon, 08 Jan 2018 14:20:22 -0500
parents ac9b4751c223
children 2245b9183bc5
files liboctave/util/f77-fcn.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/util/f77-fcn.h	Mon Jan 08 10:43:17 2018 -0800
+++ b/liboctave/util/f77-fcn.h	Mon Jan 08 14:20:22 2018 -0500
@@ -45,6 +45,9 @@
 #  define F77_FCN(f, F) F77_FUNC (f, F)
 #endif
 
+OCTAVE_DEPRECATED (4.4, "this variable is obsolete and should not be needed")
+static const int f77_exception_encountered = 0;
+
 /*
 
 The following macros are used for handling Fortran <-> C calling