5.2.20
10/23/2019

[#239] error: ISO C++ does not support ‘long long’
Summary error: ISO C++ does not support ‘long long’
Queue gloox
Queue Version 1.0.10
Type Bug
State Accepted
Priority 2. Medium
Owners js (at) camaya (dot) net
Requester camaya (at) ryandesign (dot) com
Created 07/14/2014 (1927 days ago)
Due
Updated 09/12/2014 (1867 days ago)
Assigned
Resolved

History
09/12/2014 09:54:32 PM Jakob Schröter Comment #2
Assigned to Jakob Schröter
State ⇒ Accepted
New Attachment: longlong.diff Download
Reply to this comment
Thanks for the report.

Does it help to add -Wno-long-long to the compile line as per the 
attached diff?
07/14/2014 11:42:34 AM camaya (at) ryandesign (dot) com Comment #1
State ⇒ Unconfirmed
Queue ⇒ gloox
Summary ⇒ error: ISO C++ does not support ‘long long’
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
Hello, I'm a developer with the MacPorts project. gloox 1.0.10 fails 
to build in MacPorts on Mac OS X v10.6 Snow Leopard, using the gcc-4.2 
compiler. It builds fine on OS X v10.7, v10.8 and v10.9 using clang. 
On v10.6, the error we see is:

In file included from client_test.cpp:3:
../../clientbase.cpp: In constructor 
‘gloox::ClientBase::ClientBase(const std::string&, const std::string&, 
int)’:
../../clientbase.cpp:105: error: ISO C++ does not support ‘long long’
../../clientbase.cpp:105: error: ISO C++ does not support ‘long long’
../../clientbase.cpp:106: warning: ‘m_selectedResource’ is deprecated 
(declared at ../../clientbase.h:879)
../../clientbase.cpp:106: warning: ‘m_selectedResource’ is deprecated 
(declared at ../../clientbase.h:879)
../../clientbase.cpp: In constructor 
‘gloox::ClientBase::ClientBase(const std::string&, const std::string&, 
const std::string&, int)’:
../../clientbase.cpp:124: error: ISO C++ does not support ‘long long’
../../clientbase.cpp:124: error: ISO C++ does not support ‘long long’
../../clientbase.cpp:125: warning: ‘m_selectedResource’ is deprecated 
(declared at ../../clientbase.h:879)
../../clientbase.cpp:125: warning: ‘m_selectedResource’ is deprecated 
(declared at ../../clientbase.h:879)
../../clientbase.cpp: In destructor ‘virtual 
gloox::ClientBase::~ClientBase()’:
../../clientbase.cpp:151: warning: ‘m_selectedResource’ is deprecated 
(declared at ../../clientbase.h:879)
make[4]: *** [client_test.o] Error 1

Here is a full log from our automated build service:

https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/27621/steps/compile/logs/stdio/text