Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 376 invoked from network); 18 Nov 2010 00:29:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 00:29:45 -0000 Received: (qmail 20119 invoked by uid 500); 18 Nov 2010 00:30:17 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 20081 invoked by uid 500); 18 Nov 2010 00:30:16 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 20073 invoked by uid 99); 18 Nov 2010 00:30:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 00:30:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [74.115.26.24] (HELO util2.sjc1.3crowd.com) (74.115.26.24) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 00:30:08 +0000 Received: from [74.115.25.104] (helo=dyn104.3crowd.com) by util2.sjc1.3crowd.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1PIsNo-00068N-7V for users@qpid.apache.org; Wed, 17 Nov 2010 16:29:48 -0800 From: David Hawthorne Content-Type: multipart/alternative; boundary=Apple-Mail-1-348101625 Subject: Examples on this page are all broken Date: Wed, 17 Nov 2010 16:33:50 -0800 Message-Id: To: users@qpid.apache.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) --Apple-Mail-1-348101625 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii http://qpid.apache.org/apis/0.7/cpp/html/index.html 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.= --Apple-Mail-1-348101625--