Public bug reported:

                 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

** Affects: dc-qt (Ubuntu)
     Importance: High
         Status: New


** Tags: ftbfs trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1276286

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dc-qt/+bug/1276286/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to