Package: vdk2
Version: 2.4.0-3
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 below.


> Automatic build of vdk2_2.4.0-3 on bigsur by sbuild/mips 1.94
...
>  mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -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 -s -O2 -Wall -Wcast-qual 
> -Woverloaded-virtual -Wconversion -Wstrict-prototypes -Winline -MT 
> vdkeditor.lo -MD -MP -MF .deps/vdkeditor.Tpo -c vdkeditor.cc  -fPIC -DPIC -o 
> .libs/vdkeditor.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
> Ada/C/ObjC but not for C++
> ../vdk/vdkprops.h:116: warning: 'VDKReadWriteValueProp<T, S>::operator S() 
> const [with T = VDKObject, S = VDKPoint]' was hidden
> ../vdk/vdkobj.h:122: warning:   by 'SizeObjectProp::operator VDKPoint()'
> ../vdk/vdkobj.h:436: warning: 'virtual void VDKObject::Add(VDKObject*, int, 
> int, int, int)' was hidden
> ../vdk/menu.h:203: warning:   by 'void VDKMenuItem::Add(VDKMenu*)'
> ../vdk/vdkobj.h:436: warning: 'virtual void VDKObject::Add(VDKObject*, int, 
> int, int, int)' was hidden
> ../vdk/menu.h:268: warning:   by 'void VDKOptionMenu::Add(VDKMenu*)'
> ../vdk/vdkarray.h:202: warning: 'int VDKArray<T>::operator==(VDKArray<T>&) 
> [with T = VDKString]' was hidden
> ../vdk/vdkcustom.h:58: warning:   by 'int Tuple::operator==(Tuple&)'
> ../vdk/vdkprops.h:106: warning: 'void VDKReadWriteValueProp<T, 
> S>::operator=(S) [with T = VDKCustomList, S = VDKPoint]' was hidden
> ../vdk/vdkclist.h:40: warning:   by 'SelectionProp& 
> SelectionProp::operator=(SelectionProp&)'
> ../vdk/vdkprops.h:116: warning: 'VDKReadWriteValueProp<T, S>::operator S() 
> const [with T = VDKNotebook, S = int]' was hidden
> ../vdk/notebook.h:61: warning:   by 'ActivePageProperty::operator int()'
> ../vdk/forms.h:257: warning: 'virtual void VDKForm::Show(GtkWindowPosition)' 
> was hidden
> ../vdk/filedlg.h:78: warning:   by 'void VDKFileSel::Show()'
> ../vdk/vdkcomboentry.h:54: error: extra qualification 'VDKComboEntry::' on 
> member 'FocusOutEvent'
> ../vdk/vdkcomboentry.h:55: error: extra qualification 'VDKComboEntry::' on 
> member 'FocusInEvent'
> ../vdk/vdkarray.h:202: warning: 'int VDKArray<T>::operator==(VDKArray<T>&) 
> [with T = VDKString]' was hidden
> ../vdk/vdktreeview.h:113: warning:   by 'int 
> VDKTreeViewModelTuple::operator==(VDKTreeViewModelTuple&)'
> vdkeditor.cc: In member function 'void 
> VDKEditor::InstallSyntaxTable(VDKColor*, VDKFont*, VDKColor*, VDKFont*, 
> VDKColor*, VDKFont*, VDKColor*, VDKFont*, VDKColor*, VDKFont*, VDKColor*, 
> VDKFont*)':
> vdkeditor.cc:216: warning: missing sentinel in function call
> vdkeditor.cc:233: warning: missing sentinel in function call
> vdkeditor.cc:244: warning: missing sentinel in function call
> vdkeditor.cc:253: warning: missing sentinel in function call
> vdkeditor.cc:268: warning: missing sentinel in function call
> vdkeditor.cc:277: warning: missing sentinel in function call
> vdkeditor.cc:288: warning: missing sentinel in function call
> vdkeditor.cc:296: warning: missing sentinel in function call
> vdkeditor.cc:307: warning: missing sentinel in function call
> vdkeditor.cc:315: warning: missing sentinel in function call
> vdkeditor.cc:329: warning: missing sentinel in function call
> vdkeditor.cc:337: warning: missing sentinel in function call
> vdkeditor.cc:352: warning: missing sentinel in function call
> vdkeditor.cc:361: warning: missing sentinel in function call
> vdkeditor.cc:375: warning: missing sentinel in function call
> vdkeditor.cc:383: warning: missing sentinel in function call
> vdkeditor.cc:394: warning: missing sentinel in function call
> vdkeditor.cc:402: warning: missing sentinel in function call
> vdkeditor.cc:413: warning: missing sentinel in function call
> vdkeditor.cc:421: warning: missing sentinel in function call
> vdkeditor.cc:435: warning: missing sentinel in function call
> vdkeditor.cc:443: warning: missing sentinel in function call
> vdkeditor.cc:454: warning: missing sentinel in function call
> vdkeditor.cc:462: warning: missing sentinel in function call
> make[3]: *** [vdkeditor.lo] Error 1


--- ./vdk/vdkcomboentry.h~      2006-03-14 15:47:43.000000000 +0000
+++ ./vdk/vdkcomboentry.h       2006-03-14 15:47:53.000000000 +0000
@@ -51,8 +51,8 @@
 class VDKComboEntry: public VDKObject
 {
  protected:
-  static int VDKComboEntry::FocusOutEvent(GtkWidget *,  GdkEventFocus*, 
gpointer wid);
-  static int VDKComboEntry::FocusInEvent(GtkWidget *, GdkEventFocus*, gpointer 
wid);
+  static int FocusOutEvent(GtkWidget *,  GdkEventFocus*, gpointer wid);
+  static int FocusInEvent(GtkWidget *, GdkEventFocus*, gpointer wid);
   VDKObjectSignal s_activated, s_changed, s_selected;
  public:
   /*!
--- ./vdk/vdkfilechooser.h~     2006-03-14 15:56:29.000000000 +0000
+++ ./vdk/vdkfilechooser.h      2006-03-14 15:56:37.000000000 +0000
@@ -106,8 +106,8 @@
   DECLARE_EVENT_LIST(VDKFileChooser);
   // declares two static used to initialize
   // form display type and initial position
-  static GtkWindowType VDKFileChooser::DisplayType;
-  static GtkWindowPosition VDKFileChooser::InitialPosition;
+  static GtkWindowType DisplayType;
+  static GtkWindowPosition InitialPosition;
   //
     /*! 
    * Add a filter based on a pattern

-- 
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