Package: eboard
Version: 0.9.5-6
Severity: important
Tags: patch
Your package fails to build to build with G++ 4.1. I'm filing this
bug as important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below.
> Automatic build of eboard_0.9.5-6 on bigsur by sbuild/mips 1.94
...
> g++ -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/X11R6/include -c board.cc -o board.o
> board.cc: In constructor 'Board::Board()':
> board.cc:114: error: 'board_expose_event' was not declared in this scope
> board.cc:116: error: 'board_configure_event' was not declared in this scope
> board.cc:118: error: 'board_button_press_event' was not declared in this scope
> board.cc:121: error: 'board_button_release_event' was not declared in this
> scope
> board.cc:124: error: 'board_motion_event' was not declared in this scope
> board.cc: In member function 'void Board::update(bool)':
> board.cc:704: error: 'board_configure_event' was not declared in this scope
> board.cc:707: error: 'board_animate' was not declared in this scope
> board.cc:710: error: 'board_animate' was not declared in this scope
> board.cc: In member function 'void Board::popupDropMenu(int, int, int, int,
> guint32)':
> board.cc:972: error: 'drop_callbackP' was not declared in this scope
> board.cc:975: error: 'drop_callbackR' was not declared in this scope
> board.cc:978: error: 'drop_callbackN' was not declared in this scope
> board.cc:981: error: 'drop_callbackB' was not declared in this scope
> board.cc:984: error: 'drop_callbackQ' was not declared in this scope
> board.cc: In member function 'void Board::popupProtocolMenu(int, int,
> guint32)':
> board.cc:1013: error: 'menu_whitep' was not declared in this scope
> board.cc:1030: error: 'menu_blackp' was not declared in this scope
> board.cc:1050: error: 'menu_gamep' was not declared in this scope
> board.cc: In function 'gboolean board_expose_event(GtkWidget*,
> GdkEventExpose*, void*)':
> board.cc:1310: error: 'board_motion_event' was not declared in this scope
> board.cc: In constructor 'GetFENDialog::GetFENDialog(EditBoard*)':
> board.cc:2333: error: 'getfen_ok' was not declared in this scope
> make[1]: *** [board.o] Error 1
and many, many similar errors later on.
--- ./board.h~ 2006-03-13 04:29:26.000000000 +0000
+++ ./board.h 2006-03-13 04:31:02.000000000 +0000
@@ -127,6 +127,34 @@
int sz;
};
+gboolean board_animate(gpointer data);
+gboolean vec_board_animate(gpointer data);
+
+gboolean board_expose_event(GtkWidget *widget,GdkEventExpose *ee,
+ gpointer data);
+gboolean board_configure_event(GtkWidget *widget,
+ GdkEventConfigure *ce,
+ gpointer data);
+gboolean board_button_press_event(GtkWidget *widget,
+ GdkEventButton *be,
+ gpointer data);
+gboolean board_button_release_event(GtkWidget *widget,
+ GdkEventButton *be,
+ gpointer data);
+gboolean board_motion_event(GtkWidget *widget,
+ GdkEventMotion *em,
+ gpointer data);
+
+void drop_callbackP(GtkMenuItem *item,gpointer data);
+void drop_callbackR(GtkMenuItem *item,gpointer data);
+void drop_callbackN(GtkMenuItem *item,gpointer data);
+void drop_callbackB(GtkMenuItem *item,gpointer data);
+void drop_callbackQ(GtkMenuItem *item,gpointer data);
+
+void menu_whitep(GtkMenuItem *item, gpointer data);
+void menu_blackp(GtkMenuItem *item, gpointer data);
+void menu_gamep(GtkMenuItem *item, gpointer data);
+
class Board : public WidgetProxy,
public ClockHost,
public RootBoard,
@@ -331,6 +359,8 @@
friend void eb_runengine_nobm(GtkMenuItem *item,gpointer data);
};
+void getfen_ok(GtkWidget *w, gpointer data);
+
class GetFENDialog : public ModalDialog {
public:
GetFENDialog(EditBoard *_owner);
--- ./chess.h~ 2006-03-13 04:32:08.000000000 +0000
+++ ./chess.h 2006-03-13 04:32:22.000000000 +0000
@@ -198,6 +198,13 @@
};
+void pgnedit_set(GtkWidget *w, gpointer data);
+void pgnedit_del(GtkWidget *w, gpointer data);
+void pgnedit_rowsel(GtkCList *w, gint row, gint col,
+ GdkEventButton *eb,gpointer data);
+void pgnedit_rowunsel(GtkCList *w, gint row, gint col,
+ GdkEventButton *eb,gpointer data);
+
class PGNEditInfoDialog : public ModalDialog {
public:
PGNEditInfoDialog(ChessGame *src);
--- ./bugpane.h~ 2006-03-13 04:31:20.000000000 +0000
+++ ./bugpane.h 2006-03-13 04:31:54.000000000 +0000
@@ -32,6 +32,9 @@
#include "pieces.h"
#include "stl.h"
+gboolean bareboard_expose(GtkWidget *widget,GdkEventExpose *ee,
+ gpointer data);
+
class BareBoard : public WidgetProxy,
public RootBoard,
public ClockHost,
@@ -75,6 +78,8 @@
gpointer data);
};
+void bug_ptell(GtkWidget *b,gpointer data);
+
class BugPane : public WidgetProxy {
public:
BugPane();
--- ./clock.h~ 2006-03-13 04:32:41.000000000 +0000
+++ ./clock.h 2006-03-13 04:32:59.000000000 +0000
@@ -82,6 +82,8 @@
};
+gint clockmaster_timeout(gpointer data);
+
class ClockMaster {
public:
ClockMaster();
@@ -126,6 +128,9 @@
int value[2];
};
+void tced_ok(GtkWidget *w, gpointer data);
+void tced_dropmenu(GtkMenuItem *w, gpointer data);
+
class TimeControlEditDialog : public ModalDialog {
public:
TimeControlEditDialog(TimeControl *tc, bool allownone=true);
--- ./dlg_connect.h~ 2006-03-13 04:33:08.000000000 +0000
+++ ./dlg_connect.h 2006-03-13 04:33:49.000000000 +0000
@@ -30,6 +30,12 @@
#include "clock.h"
#include "widgetproxy.h"
+void dlg_connect_ok(GtkWidget *w,gpointer data);
+void dlg_connect_cancel(GtkWidget *w,gpointer data);
+
+void dlgconn_rowsel(GtkCList *clist,int row,int column,GdkEventButton *eb,
+ gpointer data);
+
class ConnectDialog : public WidgetProxy {
public:
ConnectDialog();
@@ -49,6 +55,16 @@
gpointer data);
};
+void eebmd_rowsel(GtkCList *clist,int row,int column,GdkEventButton *eb,
+ gpointer data);
+void eebmd_rowunsel(GtkCList *clist,int row,int column,GdkEventButton *eb,
+ gpointer data);
+
+void eebmd_rm1(GtkWidget *w, gpointer data);
+void eebmd_rmall(GtkWidget *w, gpointer data);
+void eebmd_apply(GtkWidget *w, gpointer data);
+void eebmd_edittc(GtkWidget *w, gpointer data);
+
class EditEngineBookmarksDialog : public ModalDialog,
public UpdateInterface
{
--- ./dlg_gamelist.h~ 2006-03-13 04:34:06.000000000 +0000
+++ ./dlg_gamelist.h 2006-03-13 04:35:50.000000000 +0000
@@ -30,6 +30,15 @@
#include "eboard.h"
#include "widgetproxy.h"
+void gamelist_refresh (GtkWidget * w, gpointer data);
+void gamelist_observe (GtkWidget * w, gpointer data);
+gint gamelist_delete (GtkWidget * widget, GdkEvent * event, gpointer data);
+void gamelist_destroy (GtkWidget * widget, gpointer data);
+void gamelist_select (GtkCList *cl, gint row, gint column, GdkEventButton *eb,
+ gpointer data);
+void gamelist_unselect(GtkCList *cl, gint row, gint column, GdkEventButton *eb,
+ gpointer data);
+
class GameListDialog : public WidgetProxy,
public GameListConsumer {
public:
@@ -56,6 +65,19 @@
gpointer data);
};
+void stocklist_refresh (GtkWidget * w, gpointer data);
+void stocklist_open (GtkWidget * w, gpointer data);
+void stocklist_loadpgn (GtkWidget * w, gpointer data);
+void stocklist_savepgn (GtkWidget * w, gpointer data);
+void stocklist_editpgn (GtkWidget * w, gpointer data);
+void stocklist_dump (GtkWidget * w, gpointer data);
+void stocklist_dumpall (GtkWidget * w, gpointer data);
+void stocklist_destroy (GtkWidget * widget, gpointer data);
+void stocklist_select (GtkCTree *cl, GtkCTreeNode *node, gint column,
+ gpointer data);
+void stocklist_unselect(GtkCTree *cl, GtkCTreeNode *node, gint column,
+ gpointer data);
+
class StockListDialog : public WidgetProxy {
public:
StockListDialog(StockListListener *someone);
@@ -91,6 +113,14 @@
gpointer data);
};
+void adlist_refresh (GtkWidget * w, gpointer data);
+void adlist_answer (GtkWidget * w, gpointer data);
+void adlist_destroy (GtkWidget * widget, gpointer data);
+void adlist_select (GtkCList *cl, gint row, gint column, GdkEventButton *eb,
+ gpointer data);
+void adlist_unselect(GtkCList *cl, gint row, gint column, GdkEventButton *eb,
+ gpointer data);
+
class AdListDialog : public WidgetProxy,
public GameListConsumer {
public:
--- ./dlg_prefs.h~ 2006-03-13 04:36:07.000000000 +0000
+++ ./dlg_prefs.h 2006-03-13 04:36:30.000000000 +0000
@@ -30,6 +30,18 @@
#include "sound.h"
#include "widgetproxy.h"
+void prefs_ok(GtkWidget *w,gpointer data);
+void prefs_apply(GtkWidget *w,gpointer data);
+
+void prefs_frevert(GtkWidget *w,gpointer data);
+void prefs_cfont(GtkWidget *w,gpointer data);
+void prefs_fok(GtkWidget *w,gpointer data);
+
+void prefs_sndtest(GtkWidget *w,gpointer data);
+void prefs_sndedit(GtkWidget *w,gpointer data);
+
+void prefs_defcolor(GtkWidget *w,gpointer data);
+
class PreferencesDialog : public ModalDialog,
public SoundEventChangeListener
{
--- ./global.h~ 2006-03-13 04:36:42.000000000 +0000
+++ ./global.h 2006-03-13 04:36:51.000000000 +0000
@@ -83,6 +83,8 @@
};
+void zh_sigchild_handler(int sig);
+
class ZombieHunter {
public:
ZombieHunter();
--- ./help.h~ 2006-03-13 04:37:10.000000000 +0000
+++ ./help.h 2006-03-13 04:37:23.000000000 +0000
@@ -41,6 +41,8 @@
KeysDialog();
};
+ void debugdlg_writecons(GtkWidget *w, gpointer data);
+
class DebugDialog : public ModalDialog {
public:
DebugDialog();
--- ./mainwindow.h~ 2006-03-13 04:37:39.000000000 +0000
+++ ./mainwindow.h 2006-03-13 04:39:17.000000000 +0000
@@ -57,6 +57,8 @@
// implements the chat / command mode switch
+void ims_switch(GtkWidget *w, gpointer data);
+
class InputModeSelector : public WidgetProxy {
public:
InputModeSelector();
@@ -96,6 +98,66 @@
// ask about our multiple inheritance contest
+void mainwindow_themeitem(GtkMenuItem *menuitem, gpointer data);
+void mainwindow_themeitem2(GtkMenuItem *menuitem, gpointer data);
+void mainwindow_themeitem3(GtkMenuItem *menuitem, gpointer data);
+
+int input_key_press (GtkWidget * wid, GdkEventKey * evt,
+ gpointer data);
+int main_key_press (GtkWidget * wid, GdkEventKey * evt,
+ gpointer data);
+
+void peer_connect_fics(gpointer data);
+
+void peer_connect_xboard(gpointer data);
+void peer_connect_gnuchess4(gpointer data);
+void peer_connect_sjeng(gpointer data);
+void peer_connect_crafty(gpointer data);
+
+void peer_scratch_empty(gpointer data);
+void peer_scratch_initial(gpointer data);
+
+void peer_connect_ask(gpointer data);
+void peer_connect_p2p(gpointer data);
+void peer_disconnect(gpointer data);
+void help_about(gpointer data);
+void help_keys(gpointer data);
+void help_debug(gpointer data);
+void help_starting(gpointer data);
+void mainwindow_icsout_changed(GtkEditable *gtke, gpointer data);
+
+void mainwindow_connect_bookmark(GtkWidget *w, gpointer data);
+void mainwindow_connect_bookmark2(GtkWidget *w, gpointer data);
+void mainwindow_edit_engbm(GtkWidget *w, gpointer data);
+
+void navbar_back_all(GtkWidget *w,gpointer data);
+void navbar_back_1(GtkWidget *w,gpointer data);
+void navbar_forward_1(GtkWidget *w,gpointer data);
+void navbar_forward_all(GtkWidget *w,gpointer data);
+void navbar_movelist(GtkWidget *w,gpointer data);
+void navbar_trash(GtkWidget *w,gpointer data);
+void navbar_toscratch(GtkWidget *w,gpointer data);
+void navbar_flip(GtkWidget *w,gpointer data);
+
+void sett_hilite(GtkWidget *w,gpointer data);
+void sett_animate(GtkWidget *w,gpointer data);
+void sett_premove(GtkWidget *w,gpointer data);
+void sett_coord(GtkWidget *w,gpointer data);
+void sett_beepopp(GtkWidget *w,gpointer data);
+void sett_osound(GtkWidget *w,gpointer data);
+void sett_vector(GtkWidget *w,gpointer data);
+void sett_legal(GtkWidget *w,gpointer data);
+void sett_popup(GtkWidget *w,gpointer data);
+void sett_smarttrash(GtkWidget *w,gpointer data);
+
+gboolean mainwindow_read_agents(gpointer data);
+
+void windows_savedesk(GtkWidget *w, gpointer data);
+void windows_savebuffer(GtkWidget *w, gpointer data);
+
+void windows_find(GtkWidget *w, gpointer data);
+void windows_findp(GtkWidget *w, gpointer data);
+
class MainWindow : public WidgetProxy,
public InputHandler,
public ConnectionHandler,
--- ./movelist.h~ 2006-03-13 04:39:37.000000000 +0000
+++ ./movelist.h 2006-03-13 04:39:50.000000000 +0000
@@ -32,6 +32,8 @@
#include "widgetproxy.h"
#include "status.h"
+void movelist_destroy (GtkWidget *w, gpointer data);
+
class MoveListWindow : public WidgetProxy {
public:
MoveListWindow(char *p1,char *p2,int gid,list<Position> &moves,
--- ./network.h~ 2006-03-13 04:39:58.000000000 +0000
+++ ./network.h 2006-03-13 04:40:25.000000000 +0000
@@ -78,6 +78,9 @@
list<Parent *> parents;
};
+void netconn_read_notify(gpointer data, gint source,
+ GdkInputCondition cond);
+
class NetConnection {
public:
NetConnection();
@@ -184,6 +187,8 @@
int acceptConnection();
};
+gboolean sched_close(gpointer data);
+
class PipeConnection : public BufferedConnection,
public PidIssuer
{
--- ./notebook.h~ 2006-03-13 04:40:34.000000000 +0000
+++ ./notebook.h 2006-03-13 04:40:53.000000000 +0000
@@ -56,6 +56,11 @@
char title[256];
};
+void notebook_switch_page(GtkNotebook *notebook,
+ GtkNotebookPage *page,
+ gint page_num,
+ gpointer data);
+
class Notebook : public WidgetProxy {
public:
Notebook();
--- ./ntext.h~ 2006-03-13 04:41:04.000000000 +0000
+++ ./ntext.h 2006-03-13 04:41:57.000000000 +0000
@@ -66,6 +66,26 @@
};
// a decent text buffer widget
+
+gboolean ntext_expose(GtkWidget *widget, GdkEventExpose *ee,
+ gpointer data);
+gboolean ntext_configure(GtkWidget *widget, GdkEventConfigure *ee,
+ gpointer data);
+void ntext_sbchange(GtkAdjustment *adj, gpointer data);
+
+gboolean ntext_mdown(GtkWidget *widget, GdkEventButton *eb,
+ gpointer data);
+gboolean ntext_mup(GtkWidget *widget, GdkEventButton *eb,
+ gpointer data);
+gboolean ntext_mdrag(GtkWidget *widget, GdkEventMotion *em,
+ gpointer data);
+
+gboolean ntext_ksel(GtkWidget * widget,
+ GdkEventSelection * event, gpointer data);
+void ntext_getsel(GtkWidget * widget,
+ GtkSelectionData * seldata,
+ guint info, guint time, gpointer data);
+
class NText : public WidgetProxy {
public:
NText();
--- ./p2p.h~ 2006-03-13 04:42:08.000000000 +0000
+++ ./p2p.h 2006-03-13 04:42:41.000000000 +0000
@@ -32,6 +32,12 @@
#include "clock.h"
#include "network.h"
+void p2p_connect(GtkWidget *w, gpointer data);
+void p2p_wait(GtkWidget *w, gpointer data);
+void p2p_cancelwait(GtkWidget *w, gpointer data);
+
+gboolean p2p_check_incoming(gpointer data);
+
class P2PDialog : public NonModalDialog
{
public:
--- ./promote.h~ 2006-03-13 04:42:54.000000000 +0000
+++ ./promote.h 2006-03-13 04:43:04.000000000 +0000
@@ -30,6 +30,8 @@
#include "eboard.h"
#include "widgetproxy.h"
+void promote_toggle(GtkWidget *widget,gpointer data);
+
class PromotionPicker : public WidgetProxy,
public PieceProvider
{
--- ./proto_fics.h~ 2006-03-13 04:43:14.000000000 +0000
+++ ./proto_fics.h 2006-03-13 04:43:37.000000000 +0000
@@ -32,6 +32,8 @@
#include "stl.h"
#include "position.h"
+gboolean fics_allob(gpointer data);
+
class FicsProtocol : public Protocol {
public:
FicsProtocol();
--- ./proto_p2p.h~ 2006-03-13 04:43:47.000000000 +0000
+++ ./proto_p2p.h 2006-03-13 04:44:00.000000000 +0000
@@ -46,6 +46,9 @@
variant Variant;
};
+void p2ppad_accept(GtkWidget *w, gpointer data);
+void p2ppad_propose(GtkWidget *w, gpointer data);
+
class P2PPad : public NonModalDialog {
public:
P2PPad(P2PProtocol *_proto);
--- ./proto_xboard.h~ 2006-03-13 04:44:10.000000000 +0000
+++ ./proto_xboard.h 2006-03-13 04:44:27.000000000 +0000
@@ -52,6 +52,11 @@
*/
+void xboard_eng_ok(GtkWidget *w,gpointer data);
+void xboard_eng_cancel(GtkWidget *w,gpointer data);
+void xboard_edit_time(GtkWidget *w,gpointer data);
+gboolean xboard_eng_delete(GtkWidget *w,GdkEvent *e,gpointer data);
+
class XBoardProtocol : public EngineProtocol,
public UpdateInterface
{
--- ./script.h~ 2006-03-13 04:44:48.000000000 +0000
+++ ./script.h 2006-03-13 04:45:17.000000000 +0000
@@ -30,6 +30,13 @@
#include "network.h"
#include "widgetproxy.h"
+void script_refresh (GtkWidget * w, gpointer data);
+void script_run (GtkWidget * w, gpointer data);
+void script_select (GtkCList *cl, gint row, gint column, GdkEventButton *eb,
+ gpointer data);
+void script_unselect(GtkCList *cl, gint row, gint column, GdkEventButton *eb,
+ gpointer data);
+
class ScriptList : public ModalDialog {
public:
ScriptList();
@@ -47,6 +54,10 @@
gpointer data);
};
+void scripti_kill(GtkWidget *w,gpointer data);
+gboolean scripti_check(gpointer data);
+gboolean scripti_anim(gpointer data);
+
class ScriptInstance : public WidgetProxy {
public:
ScriptInstance(char *name);
--- ./seekgraph.h~ 2006-03-13 04:45:28.000000000 +0000
+++ ./seekgraph.h 2006-03-13 04:45:45.000000000 +0000
@@ -55,6 +55,11 @@
};
+void skg_select (GtkCList *cl, gint row, gint column, GdkEventButton *eb,
gpointer data);
+void skg_unselect(GtkCList *cl, gint row, gint column, GdkEventButton *eb,
gpointer data);
+void skg_play(GtkWidget *w, gpointer data);
+void skg_chgsort(GtkCList *cl, gint column, gpointer data);
+
class SeekGraph : public WidgetProxy,
public NotebookInsider
{
--- ./sound.h~ 2006-03-13 04:45:52.000000000 +0000
+++ ./sound.h 2006-03-13 04:46:03.000000000 +0000
@@ -77,6 +77,11 @@
ostream & operator<<(ostream &s, SoundEvent e);
+void snddlg_ok(GtkWidget *w,gpointer data);
+void snddlg_test(GtkWidget *w,gpointer data);
+void snddlg_browse(GtkWidget *w,gpointer data);
+void snddlg_picktheme(GtkMenuItem *w,gpointer data);
+
class SoundEventDialog : public ModalDialog {
public:
SoundEventDialog(SoundEvent *src, SoundEventChangeListener *listener);
--- ./text.h~ 2006-03-13 04:46:16.000000000 +0000
+++ ./text.h 2006-03-13 04:46:48.000000000 +0000
@@ -124,6 +124,13 @@
list<Text *> targets;
};
+gint detached_delete (GtkWidget * widget, GdkEvent * event, gpointer data);
+void detached_destroy (GtkWidget * widget, gpointer data);
+int dc_input_key_press (GtkWidget * wid, GdkEventKey * evt,
+ gpointer data);
+void dc_set_filter(GtkWidget *w,gpointer data);
+void dc_new_console(GtkWidget *w,gpointer data);
+
class DetachedConsole : public WidgetProxy {
public:
DetachedConsole(TextSet *yourset, ConsoleListener *cl);
@@ -162,6 +169,8 @@
friend void dc_new_console(GtkWidget *w,gpointer data);
};
+void tfd_ok(GtkWidget *w, gpointer data);
+
class TextFilterDialog : public ModalDialog {
public:
TextFilterDialog(Text *target, GtkWidget *label2update);
@@ -172,6 +181,8 @@
friend void tfd_ok(GtkWidget *w, gpointer data);
};
+void std_ok(GtkWidget *w, gpointer data);
+
class SearchTextDialog : public ModalDialog {
public:
--- ./widgetproxy.h~ 2006-03-13 04:47:00.000000000 +0000
+++ ./widgetproxy.h 2006-03-13 04:48:07.000000000 +0000
@@ -56,6 +56,10 @@
GtkWidget *label;
};
+void modal_release(GtkWidget *w,gpointer data);
+gint modal_closereq(GtkWidget * widget,
+ GdkEvent * event, gpointer data);
+
class ModalDialog : public WidgetProxy {
public:
ModalDialog(char *title);
@@ -102,6 +106,9 @@
virtual void update()=0;
};
+void colorb_click(GtkWidget *b,gpointer data);
+void colorb_csok(GtkWidget *b,gpointer data);
+
class ColorButton : public WidgetProxy {
public:
ColorButton(char *caption, int value);
@@ -118,6 +125,9 @@
UpdateNotify * notified;
};
+gboolean preview_expose(GtkWidget *widget,GdkEventExpose *ee,
+ gpointer data);
+
class TextPreview : public WidgetProxy, public UpdateNotify {
public:
TextPreview(GdkWindow *wnd, ColorButton *_bg);
@@ -137,6 +147,9 @@
gpointer data);
};
+void filedlg_ok (GtkWidget * w, gpointer data);
+void filedlg_destroy (GtkWidget * w, gpointer data);
+
class FileDialog : public WidgetProxy {
public:
@@ -189,6 +202,8 @@
};
+void dropbox_select(GtkWidget *w, gpointer data);
+
class DropBox : public WidgetProxy {
public:
DropBox(char *option, ...);
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]