octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57281] build error: __octave_link_enabled__ u


From: Rik
Subject: [Octave-bug-tracker] [bug #57281] build error: __octave_link_enabled__ undefined
Date: Wed, 20 Nov 2019 17:49:47 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #1, bug #57281 (project octave):

This is likely due to changeset 26067.

I tried 


hg log -k __octave_link_enabled__
changeset:   26067:b2a96efc88eb
user:        John W. Eaton <address@hidden>
date:        Tue Nov 13 03:13:37 2018 -0500
summary:     fix registration of qt graphics toolkit

changeset:   19848:9b7ca334a104
user:        Rik <address@hidden>
date:        Tue Feb 24 10:41:57 2015 -0800
summary:     Backout cset a9952a647d52 and use __octave_link_enabled__ rather
than isguirunning.

changeset:   19799:a9952a647d52
user:        Rik <address@hidden>
date:        Fri Feb 20 17:16:21 2015 -0800
summary:     Use isguirunning rather than __octave_link_enabled__ in m-files
for clarity.

changeset:   16552:8fc1f6535380
user:        John W. Eaton <address@hidden>
date:        Mon Apr 22 15:07:21 2013 -0400
summary:     new function, __octave_link_enabled__


And 26067 included 


diff -r 759740b9454b -r b2a96efc88eb libgui/graphics/__init_qt__.cc
--- a/libgui/graphics/__init_qt__.cc    Tue Nov 13 02:51:34 2018 -0500
+++ b/libgui/graphics/__init_qt__.cc    Tue Nov 13 03:13:37 2018 -0500
@@ -41,7 +41,7 @@ along with Octave; see the file COPYING.
 #include "QtHandlesUtils.h"
 #include "__init_qt__.h"
 
-// PKG_ADD: if (__have_feature__ ("QT") && __have_feature__ ("OPENGL") &&
have_window_system () && isguirunning ()) register_graphics_toolkit ("qt");
endif
+// PKG_ADD: if (__have_feature__ ("QT") && __have_feature__ ("OPENGL") &&
have_window_system () && __octave_link_enabled__ ()) register_graphics_toolkit
("qt"); endif


where isguirunning() was replaced with __octave_link_enabled__().


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57281>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]