Package: estic Version: 1.61-15 Severity: serious Tags: patch When building 'estic' on unstable, I get the following error:
itemwin.h:131: error: ISO C++ forbids declaration of 'ItemWindow' with no type itemwin.h:131: error: expected ';' before '*' token itemwin.h:172: error: ISO C++ forbids declaration of 'ItemWindow' with no type itemwin.h:172: error: expected ';' before '*' token itemwin.h:189: error: variable or field 'SetOwner' declared void itemwin.h:189: error: 'WindowItem::SetOwner' declared as an 'inline' variable itemwin.h:189: error: 'int WindowItem::SetOwner' is not a static member of 'class WindowItem' itemwin.h:189: error: 'ItemWindow' was not declared in this scope itemwin.h:189: error: 'aOwner' was not declared in this scope itemwin.h:190: error: expected ',' or ';' before '{' token itemwin.h:224: error: expected initializer before '*' token listbox.h: In member function 'virtual void ListBox<T>::Draw()': listbox.h:438: error: 'Owner' was not declared in this scope filesel.cc: In member function 'virtual void FileListBox::Print(int, int, int, u16)': filesel.cc:157: error: 'Owner' was not declared in this scope make[2]: *** [filesel.o] Error 1 make[2]: Leaving directory `/estic-1.61/spunk' With the attached patch 'estic' can be compiled using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/estic-1.61/spunk/itemwin.h ./spunk/itemwin.h --- ../tmp-orig/estic-1.61/spunk/itemwin.h 1999-12-26 14:44:17.000000000 +0000 +++ ./spunk/itemwin.h 2005-08-07 10:26:27.000000000 +0000 @@ -54,7 +54,7 @@ /* class WindowItem */ /*****************************************************************************/ - +class ItemWindow; class WindowItem : public Streamable { -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]