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 (3253 days ago) |
Due | |
Updated | 09/12/2014 (3193 days ago) |
Assigned | |
Resolved |
Assigned to Jakob Schröter
State ⇒ Accepted
New Attachment: longlong.diff
Does it help to add -Wno-long-long to the compile line as per the
attached diff?
State ⇒ Unconfirmed
Queue ⇒ gloox
Summary ⇒ error: ISO C++ does not support ‘long long’
Type ⇒ Bug
Priority ⇒ 2. Medium
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