activemq-users mailing list archives

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


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

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

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message