Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 89379 invoked from network); 26 Jan 2010 14:47:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jan 2010 14:47:01 -0000 Received: (qmail 34292 invoked by uid 500); 26 Jan 2010 14:47:00 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 34226 invoked by uid 500); 26 Jan 2010 14:47:00 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 34216 invoked by uid 99); 26 Jan 2010 14:47:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 14:47:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 14:46:51 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NZmgX-0005su-Mf for users@activemq.apache.org; Tue, 26 Jan 2010 06:46:29 -0800 Message-ID: <27323723.post@talk.nabble.com> Date: Tue, 26 Jan 2010 06:46:29 -0800 (PST) From: Ivan Pechorin To: users@activemq.apache.org Subject: ActiveMQ C++: warning "deletion of pointer to incomplete type" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ivan.pechorin@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hello The latest version of ActiveMQ C++ client (3.1.0) gives the following warning (multiple times) when compiling it with Visual C++ 2008 SP1 on Win32: 1>SimpleLogger.cpp 1>c:\dev_vc9\activemq\activemq-cpp\src\main\decaf/lang/Pointer.h(357) : warning C4150: deletion of pointer to incomplete type 'decaf::lang::ThreadProperties'; no destructor called 1> c:\dev_vc9\activemq\activemq-cpp\src\main\decaf/lang/Thread.h(39) : see declaration of 'decaf::lang::ThreadProperties' 1> c:\dev_vc9\activemq\activemq-cpp\src\main\decaf/lang/Pointer.h(356) : while compiling class template member function 'void decaf::lang::Pointer::onDeleteFunc(T *)' 1> with 1> [ 1> T=decaf::lang::ThreadProperties 1> ] 1> c:\dev_vc9\activemq\activemq-cpp\src\main\decaf/lang/Thread.h(73) : see reference to class template instantiation 'decaf::lang::Pointer' being compiled 1> with 1> [ 1> T=decaf::lang::ThreadProperties 1> ] Could this be dangerous? I created project and solution files for VC2008 using standard convertion procedure from VC2005 files shipped with the source distribution. In addition to that, I disabled built-in wchar_t, but this change couldn't be the reason of the warning. Thanks -- View this message in context: http://old.nabble.com/ActiveMQ-C%2B%2B%3A-warning-%22deletion-of-pointer-to-incomplete-type%22-tp27323723p27323723.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.