# HG changeset patch # User John W. Eaton # Date 1454573047 18000 # Node ID 8e317ce26a246fe213e394f6b3f64460d261a936 # Parent 342764537e5a5f775607f0511689f565fcd79095 unconditionally define warn_qrupdate_once * base-qr.h (warn_qrupdate_once): Declare unconditionally. * dbleQR.cc (warn_qrupdate_once): Define unconditionally. diff -r 342764537e5a -r 8e317ce26a24 liboctave/numeric/base-qr.h --- a/liboctave/numeric/base-qr.h Thu Feb 04 02:24:51 2016 -0500 +++ b/liboctave/numeric/base-qr.h Thu Feb 04 03:04:07 2016 -0500 @@ -75,8 +75,6 @@ qr_type r; }; -#if ! defined (HAVE_QRUPDATE) extern void warn_qrupdate_once (void); -#endif #endif diff -r 342764537e5a -r 8e317ce26a24 liboctave/numeric/dbleQR.cc --- a/liboctave/numeric/dbleQR.cc Thu Feb 04 02:24:51 2016 -0500 +++ b/liboctave/numeric/dbleQR.cc Thu Feb 04 03:04:07 2016 -0500 @@ -674,9 +674,13 @@ init (::shift_cols (q*r, i, j), get_type ()); } -void warn_qrupdate_once (void) +#endif + +void +warn_qrupdate_once (void) { static bool warned = false; + if (! warned) { (*current_liboctave_warning_with_id_handler) @@ -689,5 +693,3 @@ warned = true; } } - -#endif