Package: kasumi
Version: 1.0-1
Severity: important
Tags: patch

Your package fails 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 attached.


> Automatic build of kasumi_1.0-1 on em64t by sbuild/amd64 1.106
...
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  
> -DLOCALEDIR='"/usr/share/locale"' -DXTHREADS -I/usr/include/gtk-2.0 
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
> -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include    -g -O2 -Wall -c KasumiMainWindow.cxx
> KasumiDicEventListener.hxx:10: warning: 'class KasumiDicEventListener' has 
> virtual functions but non-virtual destructor
> KasumiMainWindow.cxx: In constructor 
> 'KasumiMainWindow::KasumiMainWindow(KasumiDic*, KasumiConfiguration*)':
> KasumiMainWindow.cxx:30: error: '_call_back_delete_event' was not declared in 
> this scope
> KasumiMainWindow.cxx:69: error: '_call_back_clicked_column_header' was not 
> declared in this scope
> KasumiMainWindow.cxx:119: error: '_call_back_changed_list_cursor' was not 
> declared in this scope
> KasumiMainWindow.cxx:143: error: '_call_back_changed_spelling_entry' was not 
> declared in this scope
> KasumiMainWindow.cxx:160: error: '_call_back_changed_sound_entry' was not 
> declared in this scope
> KasumiMainWindow.cxx:182: error: '_call_back_changed_frequency_spin' was not 
> declared in this scope
> KasumiMainWindow.cxx:207: error: '_call_back_changed_word_class_combo' was 
> not declared in this scope
> KasumiMainWindow.cxx:223: error: '_call_back_toggled_check' was not declared 
> in this scope
> KasumiMainWindow.cxx:326: error: '_call_back_changed_verb_type_combo' was not 
> declared in this scope
> KasumiMainWindow.cxx:353: error: '_call_back_changed_search_entry' was not 
> declared in this scope
> KasumiMainWindow.cxx:357: error: '_call_back_activate_search_entry' was not 
> declared in this scope
> KasumiMainWindow.cxx:390: error: '_call_back_quit' was not declared in this 
> scope
> KasumiMainWindow.cxx:402: error: '_call_back_store' was not declared in this 
> scope
> KasumiMainWindow.cxx:414: error: '_call_back_add' was not declared in this 
> scope
> KasumiMainWindow.cxx:426: error: '_call_back_remove' was not declared in this 
> scope
> KasumiMainWindow.cxx:439: error: '_call_back_adding_mode' was not declared in 
> this scope
> make[3]: *** [KasumiMainWindow.o] Error 1


--- ./KasumiMainWindow.hxx~     2006-03-22 02:30:21.000000000 +0000
+++ ./KasumiMainWindow.hxx      2006-03-22 02:35:42.000000000 +0000
@@ -27,6 +27,25 @@
 
 typedef _SearchByEnum SearchBy;
 
+void _call_back_delete_event(GtkWidget *widget, GdkEvent *event,
+                             gpointer data);
+void _call_back_quit(GtkWidget *widget, gpointer data);
+void _call_back_store(GtkWidget *widget, gpointer data);
+void _call_back_add(GtkWidget *widget, gpointer data);
+void _call_back_remove(GtkWidget *widget, gpointer data);
+void _call_back_adding_mode(GtkWidget *widget, gpointer data);
+void _call_back_changed_list_cursor(GtkWidget *widget, gpointer data);
+void _call_back_changed_sound_entry(GtkWidget *widget, gpointer data);
+void _call_back_changed_spelling_entry(GtkWidget *widget, gpointer data);
+void _call_back_changed_frequency_spin(GtkWidget *widget, gpointer data);
+void _call_back_changed_word_class_combo(GtkWidget *widget, gpointer data);
+void _call_back_changed_verb_type_combo(GtkWidget *widget, gpointer data);
+void _call_back_toggled_check(GtkWidget *widget, gpointer data);
+void _call_back_changed_search_entry(GtkWidget *widget, gpointer data);
+void _call_back_activate_search_entry(GtkWidget *widget, gpointer data);
+void _call_back_clicked_column_header(GtkTreeViewColumn *column,
+                                      gpointer data);
+
 class KasumiMainWindow : public KasumiDicEventListener{
   friend void _call_back_delete_event(GtkWidget *widget,
                                       GdkEvent *event,
--- ./KasumiAddWindow.hxx~      2006-03-22 02:33:30.000000000 +0000
+++ ./KasumiAddWindow.hxx       2006-03-22 02:34:04.000000000 +0000
@@ -10,6 +10,21 @@
 #include "KasumiWord.hxx"
 #include "KasumiConfiguration.hxx"
 
+void _call_back_add_window_delete_event(GtkWidget *widget,
+                                        GdkEvent *event,
+                                        gpointer data);
+void _call_back_add_window_quit(GtkWidget *widget,
+                                gpointer data);
+void _call_back_add_window_add(GtkWidget *widget,
+                               gpointer data);
+void _call_back_manage_mode(GtkWidget *widget,
+                            gpointer data);
+void _call_back_add_window_changed_word_class_combo(GtkWidget *widget,
+                                                    gpointer data);
+void _call_back_selection_data_received(GtkWidget *widget,
+                                        GtkSelectionData *selection_data,
+                                        gpointer data) ;
+
 class KasumiAddWindow{
   friend void _call_back_add_window_delete_event(GtkWidget *widget,
                                                      GdkEvent *event,

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to