I'm getting an error when I try to compile the current SVN on my Linux Mint 12 system.
GCC is complaining that the variable 'style' has not been declared on line 461 in src/Plugins/Qt/qt_dialogues.cpp. Maybe an updated .hpp file was not checked in? It looks like class qt_input_text_widget_rep should have it but it doesn't: class qt_input_text_widget_rep: public qt_widget_rep { public: command cmd; string type; array<string> def; string text; string width; QTMInputTextWidgetHelper *helper; bool ok; qt_input_text_widget_rep (command _cmd, string _type, array<string> _def, string _width); ~qt_input_text_widget_rep(); QAction* as_qaction (); QLayoutItem *as_qlayoutitem (); QWidget *as_qwidget (); }; Here is the output from make: mkdir -p src/Deps mkdir -p src/Objects mkdir -p TeXmacs/bin mkdir -p TeXmacs/lib cd src; make -f makefile link=shared make[1]: Entering directory `/home/alex/proj/texmacs-mainline/src/src' g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers -IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers -IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme -IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics -IGraphics/Renderer -IGraphics/Handwriting -IPlugins -m64 -pipe -O2 -Wall -W -D_REENTRANT -I/usr/include/freetype2 -pthread -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -DQTTEXMACS -Wall -Wno-return-type -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c ./Plugins/Qt/qt_dialogues.cpp -o Objects/qt_dialogues.o ./Plugins/Qt/qt_dialogues.cpp: In member function ‘virtual QWidget* qt_input_text_widget_rep::as_qwidget()’: ./Plugins/Qt/qt_dialogues.cpp:461:42: error: ‘style’ was not declared in this scope ./Plugins/Qt/qt_dialogues.cpp: At global scope: ./Plugins/Qt/qt_dialogues.cpp:494:1: error: prototype for ‘qt_input_text_widget_rep::qt_input_text_widget_rep(command, string, array<string>, int, string)’ does not match any in class ‘qt_input_text_widget_rep’ ./Plugins/Qt/qt_basic_widgets.hpp:18:7: error: candidates are: qt_input_text_widget_rep::qt_input_text_widget_rep(const qt_input_text_widget_rep&) ./Plugins/Qt/qt_basic_widgets.hpp:30:3: error: qt_input_text_widget_rep::qt_input_text_widget_rep(command, string, array<string>, string) In file included from Kernel/Abstractions/basic.hpp:14:0, from Kernel/Types/string.hpp:15, from Kernel/Types/tree_label.hpp:14, from Kernel/Types/tree.hpp:14, from Kernel/Containers/list.hpp:14, from Graphics/Gui/widget.hpp:14, from ./Plugins/Qt/qt_dialogues.cpp:12: System/Misc/fast_alloc.hpp: In function ‘C* tm_new(A1&, A2&, A3&, A4&, A5&) [with C = qt_input_text_widget_rep, A1 = command, A2 = string, A3 = array<string>, A4 = int, A5 = string]’: ./Plugins/Qt/qt_dialogues.cpp:527:78: instantiated from here System/Misc/fast_alloc.hpp:169:3: error: no matching function for call to ‘qt_input_text_widget_rep::qt_input_text_widget_rep(command&, string&, array<string>&, int&, string&)’ System/Misc/fast_alloc.hpp:169:3: note: candidates are: ./Plugins/Qt/qt_basic_widgets.hpp:30:3: note: qt_input_text_widget_rep::qt_input_text_widget_rep(command, string, array<string>, string) ./Plugins/Qt/qt_basic_widgets.hpp:30:3: note: candidate expects 4 arguments, 5 provided ./Plugins/Qt/qt_basic_widgets.hpp:18:7: note: qt_input_text_widget_rep::qt_input_text_widget_rep(const qt_input_text_widget_rep&) ./Plugins/Qt/qt_basic_widgets.hpp:18:7: note: candidate expects 1 argument, 5 provided make[1]: *** [Objects/qt_dialogues.o] Error 1 make[1]: Leaving directory `/home/alex/proj/texmacs-mainline/src/src' make: *** [TEXMACS] Error 2
_______________________________________________ Texmacs-dev mailing list Texmacs-dev@gnu.org https://lists.gnu.org/mailman/listinfo/texmacs-dev