i downloaded the archive.h, but still i get errors:
/usr/include/wx-2.5/wx/zipstrm.h: In member function `const int&
const_reverse_iterator::operator*() const':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `;' token
/usr/include/wx-2.5/wx/list.h: In member function `const_reverse_iterator&
const_reverse_iterator::operator++()':
/usr/include/wx-2.5/wx/list.h:345: error: `wxNodeBase*
wxNodeBase::GetPrevious() const' is protected
/usr/include/wx-2.5/wx/zipstrm.h:265: error: within this context
/usr/include/wx-2.5/wx/zipstrm.h:265: error: invalid conversion from `
wxNodeBase*' to `wx_wxZipEntryListNode*'
/usr/include/wx-2.5/wx/list.h: In member function `const_reverse_iterator
const_reverse_iterator::operator++(int)':
/usr/include/wx-2.5/wx/list.h:345: error: `wxNodeBase*
wxNodeBase::GetPrevious() const' is protected
/usr/include/wx-2.5/wx/zipstrm.h:265: error: within this context
/usr/include/wx-2.5/wx/zipstrm.h:265: error: invalid conversion from `
wxNodeBase*' to `wx_wxZipEntryListNode*'
/usr/include/wx-2.5/wx/list.h: In member function `const_reverse_iterator&
const_reverse_iterator::operator--()':
/usr/include/wx-2.5/wx/list.h:344: error: `wxNodeBase* wxNodeBase::GetNext()
const' is protected
/usr/include/wx-2.5/wx/zipstrm.h:265: error: within this context
/usr/include/wx-2.5/wx/zipstrm.h:265: error: invalid conversion from `
wxNodeBase*' to `wx_wxZipEntryListNode*'
/usr/include/wx-2.5/wx/list.h: In member function `const_reverse_iterator
const_reverse_iterator::operator--(int)':
/usr/include/wx-2.5/wx/list.h:344: error: `wxNodeBase* wxNodeBase::GetNext()
const' is protected
/usr/include/wx-2.5/wx/zipstrm.h:265: error: within this context
/usr/include/wx-2.5/wx/zipstrm.h:265: error: invalid conversion from `
wxNodeBase*' to `wx_wxZipEntryListNode*'
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `,' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `,' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: non-member function `
const_iterator begin()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h:265: error: semicolon missing after
declaration of `class const_iterator'
/usr/include/wx-2.5/wx/zipstrm.h: In function `int begin()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: new declaration `int begin()'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: ambiguates old declaration `
iterator begin()'
/usr/include/wx-2.5/wx/zipstrm.h: In function `iterator begin()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: cannot convert `const_iterator' to
`int' in return
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: non-member function `
const_iterator end()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `const_iterator end()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: new declaration `const_iterator
end()'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: ambiguates old declaration `
iterator end()'
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: non-member function `
const_reverse_iterator rbegin()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `const_reverse_iterator rbegin()
':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: new declaration `
const_reverse_iterator rbegin()'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: ambiguates old declaration `
reverse_iterator rbegin()'
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: non-member function `
const_reverse_iterator rend()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `const_reverse_iterator rend()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: new declaration `
const_reverse_iterator rend()'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: ambiguates old declaration `
reverse_iterator rend()'
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `size_type' was not declared in
this scope
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `,' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void resize(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `n' undeclared (first use this
function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `size' undeclared (first use this
function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `pop_back' undeclared (first use
this function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `v' undeclared (first use this
function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `push_back' undeclared (first use
this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: non-member function `bool empty()'
cannot have `const' method qualifier
/usr/include/wx-2.5/wx/string.h: In function `bool empty()':
/usr/include/wx-2.5/wx/string.h:110: error: too few arguments to function `bool
IsEmpty(const char*)'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: at this point in file
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void push_front(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `const_base_reference' undeclared
(first use this function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void push_back(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `void push_back(...)' used prior
to declaration
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void pop_back()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `void pop_back()' used prior to
declaration
/usr/include/wx-2.5/wx/zipstrm.h: In function `void assign(const_iterator,
const_iterator)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `clear' undeclared (first use this
function)
/usr/include/wx-2.5/wx/zipstrm.h:265: warning: cannot pass objects of non-POD
type `class const_iterator' through `...'; call will abort at runtime
/usr/include/wx-2.5/wx/zipstrm.h:265: warning: cannot pass objects of non-POD
type `class const_iterator' through `...'; call will abort at runtime
/usr/include/wx-2.5/wx/zipstrm.h:265: error: no match for 'operator++' in '++
first'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `Append' cannot be used as a
function
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `,' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void assign(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `size_type' undeclared (first use
this function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `i' undeclared (first use this
function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: type specifier omitted for
parameter `const_reference'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `iterator insert(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: type specifier omitted for
parameter `size_type'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `,' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void insert(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: new declaration `void insert(...)'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: ambiguates old declaration `
iterator insert(...)'
/usr/include/wx-2.5/wx/zipstrm.h: In function `iterator insert(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void insert(iterator,
const_iterator, const_iterator)':
/usr/include/wx-2.5/wx/zipstrm.h:265: warning: cannot pass objects of non-POD
type `class const_iterator' through `...'; call will abort at runtime
/usr/include/wx-2.5/wx/zipstrm.h:265: warning: cannot pass objects of non-POD
type `class const_iterator' through `...'; call will abort at runtime
/usr/include/wx-2.5/wx/zipstrm.h:265: error: no match for 'operator++' in '++
first'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `Insert' cannot be used as a
function
/usr/include/wx-2.5/wx/list.h: In function `iterator erase(iterator)':
/usr/include/wx-2.5/wx/list.h:344: error: `wxNodeBase* wxNodeBase::GetNext()
const' is protected
/usr/include/wx-2.5/wx/zipstrm.h:265: error: within this context
/usr/include/wx-2.5/wx/zipstrm.h:265: error: invalid conversion from `
wxNodeBase*' to `wx_wxZipEntryListNode*'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: initializing argument 1 of `
iterator::iterator(wx_wxZipEntryListNode*, wx_wxZipEntryListNode*)'
/usr/include/wx-2.5/wx/zipstrm.h: In function `iterator erase(iterator,
iterator)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `DeleteNodes' undeclared (first
use this function)
/usr/include/wx-2.5/wx/zipstrm.h: In function `void clear()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `void clear()' used prior to
declaration
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `Clear' undeclared (first use this
function)
/usr/include/wx-2.5/wx/zipstrm.h: In function `void splice(iterator,
_wxZipEntryList&, iterator, iterator)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `erase' undeclared (first use this
function)
/usr/include/wx-2.5/wx/zipstrm.h: In function `void splice(iterator,
_wxZipEntryList&)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `begin' undeclared (first use this
function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `end' undeclared (first use this
function)
/usr/include/wx-2.5/wx/zipstrm.h: In function `void splice(iterator,
_wxZipEntryList&, iterator)':
/usr/include/wx-2.5/wx/zipstrm.h:265: warning: cannot pass objects of non-POD
type `class iterator' through `...'; call will abort at runtime
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `erase' undeclared (first use this
function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void remove(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void reverse()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `Reverse' undeclared (first use
this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `}' token
/usr/include/wx-2.5/wx/zipstrm.h:268: error: parse error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:273: error: destructors must be member
functions
/usr/include/wx-2.5/wx/zipstrm.h:273: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:275: error: `entry' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:275: error: syntax error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:279: error: `bool PutNextEntry(const
wxString&, const wxDateTime&, long long int)' redeclared as different kind
of symbol
/usr/include/wx-2.5/wx/zipstrm.h:275: error: previous declaration of `bool
PutNextEntry'
/usr/include/wx-2.5/wx/zipstrm.h:275: error: previous non-function declaration
`bool PutNextEntry'
/usr/include/wx-2.5/wx/zipstrm.h:279: error: conflicts with function
declaration `bool PutNextEntry(const wxString&, const wxDateTime&, long long
int)'
/usr/include/wx-2.5/wx/zipstrm.h:284: error: `entry' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:284: error: parse error before `&' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void SetComment(const wxString&)
':
/usr/include/wx-2.5/wx/zipstrm.h:291: error: redefinition of `void
SetComment(const wxString&)'
/usr/include/wx-2.5/wx/zipstrm.h:168: error: `void SetComment(const wxString&)'
previously defined here
/usr/include/wx-2.5/wx/zipstrm.h:291: error: redefinition of `void
SetComment(const wxString&)'
/usr/include/wx-2.5/wx/zipstrm.h:168: error: `void SetComment(const wxString&)'
previously defined here
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:293: error: non-member function `int
GetLevel()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `int GetLevel()':
/usr/include/wx-2.5/wx/zipstrm.h:293: error: `m_level' undeclared (first use
this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:296: error: parse error before `protected'
/usr/include/wx-2.5/wx/zipstrm.h:298: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:298: error: non-member function `wxFileOffset
OnSysTell()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `wxFileOffset OnSysTell()':
/usr/include/wx-2.5/wx/zipstrm.h:298: error: `m_entrySize' undeclared (first
use this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:302: error: type specifier omitted for
parameter `wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:302: error: parse error before `&' token
/usr/include/wx-2.5/wx/zipstrm.h:303: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:304: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:306: error: non-member function `bool
IsParentSeekable()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `bool IsParentSeekable()':
/usr/include/wx-2.5/wx/zipstrm.h:307: error: `m_offsetAdjustment' undeclared
(first use this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:309: error: parse error before `private'
/usr/include/wx-2.5/wx/zipstrm.h:311: error: `wxArchiveEntry' was not declared
in this scope
/usr/include/wx-2.5/wx/zipstrm.h:311: error: `entry' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:311: error: `wxArchiveInputStream' was not
declared in this scope
/usr/include/wx-2.5/wx/zipstrm.h:311: error: `stream' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:311: error: `bool CopyEntry' redeclared as
different kind of symbol
/usr/include/wx-2.5/wx/zipstrm.h:284: error: previous declaration of `bool
CopyEntry(...)'
/usr/include/wx-2.5/wx/zipstrm.h:311: error: initializer list being treated as
compound expression
/usr/include/wx-2.5/wx/zipstrm.h:312: error: `wxArchiveInputStream' was not
declared in this scope
/usr/include/wx-2.5/wx/zipstrm.h:312: error: `stream' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:312: error: `bool CopyArchiveMetaData'
redeclared as different kind of symbol
/usr/include/wx-2.5/wx/zipstrm.h:285: error: previous declaration of `bool
CopyArchiveMetaData(wxZipInputStream&)'
/usr/include/wx-2.5/wx/zipstrm.h:314: error: non-member function `bool
IsOpened()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `bool IsOpened()':
/usr/include/wx-2.5/wx/zipstrm.h:314: error: `m_comp' undeclared (first use
this function)
/usr/include/wx-2.5/wx/zipstrm.h:314: error: `m_pending' undeclared (first use
this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:316: error: `entry' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:316: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h:322: error: conflicting types for `
wxZipStreamLink*m_backlink'
/usr/include/wx-2.5/wx/zipstrm.h:253: error: previous declaration as `
wxZipWeakLinks*m_backlink'
/usr/include/wx-2.5/wx/zipstrm.h:323: error: cannot declare variable `m_entries
' to be of type `_wxZipEntryList'
/usr/include/wx-2.5/wx/zipstrm.h:323: error: because the following virtual
functions are abstract:
/usr/include/wx-2.5/wx/list.h:435: error: virtual wxNodeBase*
wxListBase::CreateNode(wxNodeBase*, wxNodeBase*, void*, const wxListKey&)
/usr/include/wx-2.5/wx/zipstrm.h:326: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:330: error: `wxFileOffset m_entrySize' used
prior to declaration
/usr/include/wx-2.5/wx/zipstrm.h:332: error: `wxOutputStream*m_comp' used prior
to declaration
/usr/include/wx-2.5/wx/zipstrm.h:333: error: `int m_level' used prior to
declaration
/usr/include/wx-2.5/wx/zipstrm.h:334: error: `wxFileOffset m_offsetAdjustment'
used prior to declaration
/usr/include/wx-2.5/wx/zipstrm.h:335: error: redefinition of `wxString
m_Comment'
/usr/include/wx-2.5/wx/zipstrm.h:244: error: `wxString m_Comment' previously
declared here
/usr/include/wx-2.5/wx/zipstrm.h:337: error: parse error before `private'
/usr/include/wx-2.5/wx/zipstrm.h:337: error: syntax error before `&' token
/usr/include/wx-2.5/wx/zipstrm.h:345: error: parse error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:349: error: parse error before `&' token
/usr/include/wx-2.5/wx/zipstrm.h:350: error: parse error before `const'
/usr/include/wx-2.5/wx/zipstrm.h:351: error: destructors must be member
functions
/usr/include/wx-2.5/wx/zipstrm.h:351: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:353: error: `entry' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:353: error: syntax error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:356: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:361: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:361: error: non-member function `wxFileOffset
GetLength()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `wxFileOffset GetLength()':
/usr/include/wx-2.5/wx/zipstrm.h:361: error: `m_entry' undeclared (first use
this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:363: error: parse error before `protected'
/usr/include/wx-2.5/wx/zipstrm.h:365: error: non-member function `wxFileOffset
OnSysTell()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `wxFileOffset OnSysTell()':
/usr/include/wx-2.5/wx/zipstrm.h:365: error: redefinition of `wxFileOffset
OnSysTell()'
/usr/include/wx-2.5/wx/zipstrm.h:298: error: `wxFileOffset OnSysTell()'
previously defined here
/usr/include/wx-2.5/wx/zipstrm.h:365: error: redefinition of `wxFileOffset
OnSysTell()'
/usr/include/wx-2.5/wx/zipstrm.h:298: error: `wxFileOffset OnSysTell()'
previously defined here
/usr/include/wx-2.5/wx/zipstrm.h:365: error: `m_decomp' undeclared (first use
this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:368: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:369: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:371: error: parse error before `private'
/usr/include/wx-2.5/wx/zipstrm.h:375: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:377: error: `wxArchiveEntry' was not declared
in this scope
/usr/include/wx-2.5/wx/zipstrm.h:377: error: `entry' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:377: error: redefinition of `bool OpenEntry'
/usr/include/wx-2.5/wx/zipstrm.h:353: error: `bool OpenEntry' previously
defined here
/usr/include/wx-2.5/wx/zipstrm.h:386: error: non-member function `bool
AtHeader()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h:387: error: non-member function `bool
AfterHeader()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h:388: error: non-member function `bool
IsOpened()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `bool IsOpened()':
/usr/include/wx-2.5/wx/zipstrm.h:388: error: redefinition of `bool IsOpened()'
/usr/include/wx-2.5/wx/zipstrm.h:314: error: `bool IsOpened()' previously
defined here
/usr/include/wx-2.5/wx/zipstrm.h:388: error: redefinition of `bool IsOpened()'
/usr/include/wx-2.5/wx/zipstrm.h:314: error: `bool IsOpened()' previously
defined here
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:390: error: `out' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:392: error: `entry' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:392: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h:395: error: conflicting types for `
wxStoredInputStream*m_store'
/usr/include/wx-2.5/wx/zipstrm.h:320: error: previous declaration as `
wxStoredOutputStream*m_store'
/usr/include/wx-2.5/wx/zipstrm.h:399: error: 'wxZipEntry' is used as a type,
but is not defined as a type.
/usr/include/wx-2.5/wx/zipstrm.h:400: error: redefinition of `bool m_raw'
/usr/include/wx-2.5/wx/zipstrm.h:327: error: `bool m_raw' previously declared
here
/usr/include/wx-2.5/wx/zipstrm.h:401: error: redefinition of `size_t
m_headerSize'
/usr/include/wx-2.5/wx/zipstrm.h:329: error: `size_t m_headerSize' previously
declared here
/usr/include/wx-2.5/wx/zipstrm.h:402: error: redefinition of `wxUint32
m_crcAccumulator'
/usr/include/wx-2.5/wx/zipstrm.h:331: error: `wxUint32 m_crcAccumulator'
previously declared here
/usr/include/wx-2.5/wx/zipstrm.h:403: error: `wxInputStream*m_decomp' used
prior to declaration
/usr/include/wx-2.5/wx/zipstrm.h:407: error: redefinition of `wxFileOffset
m_offsetAdjustment'
/usr/include/wx-2.5/wx/zipstrm.h:334: error: `wxFileOffset m_offsetAdjustment'
previously declared here
/usr/include/wx-2.5/wx/zipstrm.h:411: error: redefinition of `wxString
m_Comment'
/usr/include/wx-2.5/wx/zipstrm.h:335: error: `wxString m_Comment' previously
declared here
/usr/include/wx-2.5/wx/zipstrm.h:414: error: `entry' was not declared in this
scope
/usr/include/wx-2.5/wx/zipstrm.h:414: error: `inputStream' was not declared in
this scope
/usr/include/wx-2.5/wx/zipstrm.h:414: error: `wxZipOutputStream::CopyEntry'
declared as a friend
/usr/include/wx-2.5/wx/zipstrm.h:414: error: initializer list being treated as
compound expression
/usr/include/wx-2.5/wx/zipstrm.h:416: error: `inputStream' was not declared in
this scope
/usr/include/wx-2.5/wx/zipstrm.h:416: error: `
wxZipOutputStream::CopyArchiveMetaData' declared as a friend
/usr/include/wx-2.5/wx/zipstrm.h:418: error: parse error before `private'
/usr/include/wx-2.5/wx/zipstrm.h:418: error: syntax error before `&' token
/usr/include/wx-2.5/wx/zipstrm.h:426: error: parse error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:430: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:432: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:437: error: non-member function `wxString
GetInternalName(const wxString&, wxPathFormat)' cannot have `const' method
qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `wxString GetInternalName(const
wxString&, wxPathFormat)':
/usr/include/wx-2.5/wx/zipstrm.h:437: error: incomplete type 'wxZipEntry'
cannot be used to name a scope
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:439: error: parse error before `protected'
/usr/include/wx-2.5/wx/zipstrm.h:442: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:444: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:448: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:448: error: non-member function `wxClassInfo*
GetClassInfo()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `wxClassInfo* GetClassInfo()':
/usr/include/wx-2.5/wx/zipstrm.h:448: error: redefinition of `wxClassInfo*
GetClassInfo()'
/usr/include/wx-2.5/wx/zipstrm.h:258: error: `wxClassInfo* GetClassInfo()'
previously defined here
/usr/include/wx-2.5/wx/zipstrm.h:448: error: redefinition of `wxClassInfo*
GetClassInfo()'
/usr/include/wx-2.5/wx/zipstrm.h:258: error: `wxClassInfo* GetClassInfo()'
previously defined here
/usr/include/wx-2.5/wx/zipstrm.h:448: error: `wxZipClassFactory' undeclared
(first use this function)
/usr/include/wx-2.5/wx/zipstrm.h:448: error: parse error before `::' token
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:466: error: invalid use of undefined type `
class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h: In member function `bool wxZipEntry::IsText()
const':
/usr/include/wx-2.5/wx/zipstrm.h:467: error: `TEXT_ATTR' undeclared (first use
this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:471: error: invalid use of undefined type `
class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:476: error: invalid use of undefined type `
class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:481: error: invalid use of undefined type `
class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:496: error: invalid use of undefined type `
class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:504: error: invalid use of undefined type `
class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:513: error: invalid use of undefined type `
class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
wxZipEntry'
IPFilter.cpp: In member function `int CIPFilter::LoadFromZipFile(const
wxString&)':
IPFilter.cpp:365: error: `wxZipInputStream' undeclared (first use this
function)
IPFilter.cpp:365: error: parse error before `(' token
IPFilter.cpp:366: error: `inputStream' undeclared (first use this function)
make[4]: *** [amuled-IPFilter.o] Error 1
make[4]: Leaving directory `/home/leo/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/leo/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/leo/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/leo/amule-cvs'
make: *** [all] Error 2
i am using the latest cvs - 20050321
thanks