Message: previous - next
Month: April 2012

coders - need help with gcc47 - redeclaration of (x) issue in several packages

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 12 Apr 2012 16:07:31 -0500
Tim, c/c++ folks,

  I have worked gcc47 patches in most of the major packages to the point where I
have hit a common failure that I cannot solve. The common problem involves
error: redeclaration of (foo). Usually involving some iterator. The list of
packages that have a similar build failure are:

tde-kipi-plugins - error: redeclaration of 'TQListViewItemIterator it'

tde-tdepim - error: redeclaration of 'TQMap<TQGuardedPtr<KMFolder>,
int>::Iterator it'

tde-k3b - error: redeclaration of 'K3bAudioEditorWidget::Range* r'

rosegarden - error:
redeclaration of 'std::multiset<Rosegarden::Event*

  I don't know what the various declarations are supposed to look like to begin
with so I sure can't recognize which one, and in what scope, the declarations
need to be fixed. Thanks for you help.

David C. Rankin, J.D.,P.E.