FTBFS: dcpp/StringDefs.h:488:2: error: expected identifier before '(' token

Bug #1276286 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dc-qt (Ubuntu)
Won't Fix
High
Unassigned

Bug Description

                 from dcpp/BufferedSocket.cpp:22:
dcpp/StringDefs.h:488:2: error: expected identifier before '(' token
  SIZE_MAX, // "Max Size"
  ^
dcpp/StringDefs.h:488:2: error: expected '}' before '(' token
dcpp/StringDefs.h:488:2: error: expected unqualified-id before numeric constant
  SIZE_MAX, // "Max Size"
  ^
dcpp/StringDefs.h:488:2: error: expected ')' before numeric constant
In file included from dcpp/BufferedSocket.cpp:24:0:
dcpp/ResourceManager.h:34:26: error: 'Strings' was not declared in this scope
  const string& getString(Strings x) const { dcassert(x >= 0 && x < LAST); return strings[x]; };
                          ^
dcpp/ResourceManager.h:34:37: error: expected ',' or ';' before 'const'
  const string& getString(Strings x) const { dcassert(x >= 0 && x < LAST); return strings[x]; };
                                     ^
dcpp/ResourceManager.h:35:28: error: 'Strings' was not declared in this scope
  const wstring& getStringW(Strings x) const { dcassert(x >= 0 && x < LAST); return wstrings[x]; };
                            ^
dcpp/ResourceManager.h:35:39: error: expected ',' or ';' before 'const'
  const wstring& getStringW(Strings x) const { dcassert(x >= 0 && x < LAST); return wstrings[x]; };
                                       ^
dcpp/ResourceManager.h:37:1: error: expected unqualified-id before 'private'
 private:
 ^
dcpp/ResourceManager.h:40:27: error: 'Strings' was not declared in this scope
  typedef HASH_MAP<string, Strings> NameMap;
                           ^
dcpp/ResourceManager.h:40:34: error: template argument 2 is invalid
  typedef HASH_MAP<string, Strings> NameMap;
                                  ^
dcpp/ResourceManager.h:40:34: error: template argument 5 is invalid
dcpp/ResourceManager.h:40:43: error: invalid type in declaration before ';' token
  typedef HASH_MAP<string, Strings> NameMap;
                                           ^
dcpp/ResourceManager.h:41:28: error: expected initializer before 'NameIter'
  typedef NameMap::iterator NameIter;
                            ^
dcpp/ResourceManager.h:43:18: error: expected unqualified-id before ')' token
  ResourceManager() {
                  ^
dcpp/ResourceManager.h:47:27: error: declaration of '~ResourceManager' as non-member
  virtual ~ResourceManager() { };
                           ^
dcpp/ResourceManager.h:49:24: error: 'LAST' was not declared in this scope
  static string strings[LAST];
                        ^
dcpp/ResourceManager.h:50:26: error: 'LAST' was not declared in this scope
  static wstring wstrings[LAST];
                          ^
dcpp/ResourceManager.h:51:22: error: 'LAST' was not declared in this scope
  static string names[LAST];
                      ^
dcpp/ResourceManager.h:54:1: error: expected declaration before '}' token
 };
 ^
scons: *** [dcpp/BufferedSocket.o] Error 1
scons: building terminated because of errors.
make: *** [common-configure-arch] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20140131-0558
FAILED [dpkg-buildpackage died]
******************************************************************************

Full log: https://launchpadlibrarian.net/164420054/buildlog_ubuntu-trusty-i386.dc-qt_0.2.0.alpha-4.2build1_FAILEDTOBUILD.txt.gz

Matthias Klose (doko)
tags: added: block-proposed
Revision history for this message
Matthias Klose (doko) wrote :

dc-qt removed for 15.04

Changed in dc-qt (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.