qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Hawthorne <dha...@3crowd.com>
Subject Examples on this page are all broken
Date Thu, 18 Nov 2010 00:33:50 GMT

Looking through the headers, these can't work.  Even just trying to compile the first example
to bootstrap things fails miserably:

g++ -c -g -O2 -Wall test.cpp
test.cpp: In function 'int main(int, char**)':
test.cpp:13: error: no matching function for call to 'qpid::messaging::Connection::Connection(std::string&)'
test.cpp:15: error: no matching function for call to 'qpid::messaging::Connection::open()'
test.cpp:16: error: 'class qpid::messaging::Connection' has no member named 'createSession'

Can someone please update this document with working example code, please?  Pretty please?
 It would be very, very useful to have working non-OO examples.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message