activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Pechorin <ivan.pecho...@gmail.com>
Subject ActiveMQ C++: warning "deletion of pointer to incomplete type"
Date Tue, 26 Jan 2010 14:46:29 GMT

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<T>::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<T>'
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.


Mime
View raw message