|
|
Sponsor |
Build Namespace Issues: msg#00042apache.logging.log4cxx.user
I ran into a rather odd error when using
SocketAppenders.
I have a wrapper that has worked fine, no warnings,
nothing until I added functionality for the SocketAppender..
Now I get what follows this.. Does anyone
know the root of this (Other than SocketAppender.cpp.. :-)) BTW,
VS.NET 2k3 is the build tool.
EventLogger.cpp c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socketimpl.h(96) : warning C4251: 'log4cxx::helpers::SocketImpl::theClassSocketImpl' : class 'log4cxx::helpers::SocketImpl::ClassSocketImpl' needs to have dll-interface to be used by clients of class 'log4cxx::helpers::SocketImpl' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socketimpl.h(96) : see declaration of 'log4cxx::helpers::SocketImpl::ClassSocketImpl' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socketinputstream.h(45) : warning C4251: 'log4cxx::helpers::SocketInputStream::theClassSocketInputStream' : class 'log4cxx::helpers::SocketInputStream::ClassSocketInputStream' needs to have dll-interface to be used by clients of class 'log4cxx::helpers::SocketInputStream' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socketinputstream.h(45) : see declaration of 'log4cxx::helpers::SocketInputStream::ClassSocketInputStream' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socketinputstream.h(67) : warning C4251: 'log4cxx::helpers::SocketInputStream::socket' : class 'log4cxx::helpers::ObjectPtrT with [ T=log4cxx::helpers::Socket ] c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socketoutputstream.h(37) : warning C4251: 'log4cxx::helpers::SocketOutputStream::theClassSocketOutputStream' : class 'log4cxx::helpers::SocketOutputStream::ClassSocketOutputStream' needs to have dll-interface to be used by clients of class 'log4cxx::helpers::SocketOutputStream' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socketoutputstream.h(37) : see declaration of 'log4cxx::helpers::SocketOutputStream::ClassSocketOutputStream' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socketoutputstream.h(63) : warning C4251: 'log4cxx::helpers::SocketOutputStream::socket' : class 'log4cxx::helpers::ObjectPtrT with [ T=log4cxx::helpers::Socket ] c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socket.h(57) : warning C4251: 'log4cxx::helpers::Socket::theClassSocket' : class 'log4cxx::helpers::Socket::ClassSocket' needs to have dll-interface to be used by clients of class 'log4cxx::helpers::Socket' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socket.h(57) : see declaration of 'log4cxx::helpers::Socket::ClassSocket' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\socket.h(120) : warning C4251: 'log4cxx::helpers::Socket::socketImpl' : class 'log4cxx::helpers::ObjectPtrT with [ T=log4cxx::helpers::SocketImpl ] c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\thread.h(58) : warning C4251: 'log4cxx::helpers::Runnable::theClassRunnable' : class 'log4cxx::helpers::Runnable::ClassRunnable' needs to have dll-interface to be used by clients of class 'log4cxx::helpers::Runnable' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\thread.h(58) : see declaration of 'log4cxx::helpers::Runnable::ClassRunnable' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\thread.h(74) : warning C4251: 'log4cxx::helpers::Thread::theClassThread' : class 'log4cxx::helpers::Thread::ClassThread' needs to have dll-interface to be used by clients of class 'log4cxx::helpers::Thread' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\thread.h(74) : see declaration of 'log4cxx::helpers::Thread::ClassThread' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\thread.h(139) : warning C4251: 'log4cxx::helpers::Thread::runnable' : class 'log4cxx::helpers::ObjectPtrT with [ T=log4cxx::helpers::Runnable ] c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\thread.h(140) : warning C4251: 'log4cxx::helpers::Thread::parentMDCMap' : class 'std::map<_Kty,_Ty>' needs to have dll-interface to be used by clients of class 'log4cxx::helpers::Thread' with [ _Kty=log4cxx::String, _Ty=log4cxx::String ] c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(115) : warning C4251: 'log4cxx::net::SocketAppender::remoteHost' : class 'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface to be used by clients of class 'log4cxx::net::SocketAppender' with [ _Elem=wchar_t, _Traits=std::char_traits _Ax=std::allocator ] c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(123) : warning C4251: 'log4cxx::net::SocketAppender::os' : class 'log4cxx::helpers::ObjectPtrT with [ T=log4cxx::helpers::SocketOutputStream ] c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(128) : warning C4251: 'log4cxx::net::SocketAppender::theClassSocketAppender' : class 'log4cxx::net::SocketAppender::ClassSocketAppender' needs to have dll-interface to be used by clients of class 'log4cxx::net::SocketAppender' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(128) : see declaration of 'log4cxx::net::SocketAppender::ClassSocketAppender' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(273) : warning C4251: 'log4cxx::net::SocketAppender::connector' : class 'log4cxx::helpers::ObjectPtrT with [ T=log4cxx::net::SocketAppender::Connector ] c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(274) : warning C4250: 'log4cxx::net::SocketAppender' : inherits 'log4cxx::helpers::ObjectImpl::log4cxx::helpers::ObjectImpl::addRef' via dominance c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\objectimpl.h(34) : see declaration of 'log4cxx::helpers::ObjectImpl::addRef' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(274) : warning C4250: 'log4cxx::net::SocketAppender' : inherits 'log4cxx::helpers::ObjectImpl::log4cxx::helpers::ObjectImpl::releaseRef' via dominance c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\objectimpl.h(35) : see declaration of 'log4cxx::helpers::ObjectImpl::releaseRef' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(274) : warning C4250: 'log4cxx::net::SocketAppender' : inherits 'log4cxx::helpers::ObjectImpl::log4cxx::helpers::ObjectImpl::lock' via dominance c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\objectimpl.h(36) : see declaration of 'log4cxx::helpers::ObjectImpl::lock' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(274) : warning C4250: 'log4cxx::net::SocketAppender' : inherits 'log4cxx::helpers::ObjectImpl::log4cxx::helpers::ObjectImpl::unlock' via dominance c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\objectimpl.h(37) : see declaration of 'log4cxx::helpers::ObjectImpl::unlock' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(274) : warning C4250: 'log4cxx::net::SocketAppender' : inherits 'log4cxx::helpers::ObjectImpl::log4cxx::helpers::ObjectImpl::wait' via dominance c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\objectimpl.h(38) : see declaration of 'log4cxx::helpers::ObjectImpl::wait' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(274) : warning C4250: 'log4cxx::net::SocketAppender' : inherits 'log4cxx::helpers::ObjectImpl::log4cxx::helpers::ObjectImpl::notify' via dominance c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\objectimpl.h(39) : see declaration of 'log4cxx::helpers::ObjectImpl::notify' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\net\socketappender.h(274) : warning C4250: 'log4cxx::net::SocketAppender' : inherits 'log4cxx::helpers::ObjectImpl::log4cxx::helpers::ObjectImpl::notifyAll' via dominance c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\helpers\objectimpl.h(40) : see declaration of 'log4cxx::helpers::ObjectImpl::notifyAll' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\spi\repositoryselector.h(48) : warning C4251: 'log4cxx::spi::RepositorySelector::theClassRepositorySelector' : class 'log4cxx::spi::RepositorySelector::ClassRepositorySelector' needs to have dll-interface to be used by clients of class 'log4cxx::spi::RepositorySelector' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\spi\repositoryselector.h(48) : see declaration of 'log4cxx::spi::RepositorySelector::ClassRepositorySelector' c:\src\RMI\Public\libs\log4cxx-0.9.7\include\log4cxx\logmanager.h(46) : warning C4251: 'log4cxx::LogManager::repositorySelector' : class 'log4cxx::helpers::ObjectPtrT with [ T=log4cxx::spi::RepositorySelector ] Creating library...
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Logging from a Windows Service, Drapal, Myron E \(Myron\) |
|---|---|
| Next by Date: | Fwd: Build namespace issues, Curt Arnold |
| Previous by Thread: | Logging from a Windows Service, Drapal, Myron E \(Myron\) |
| Next by Thread: | Fwd: Build namespace issues, Curt Arnold |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|