You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Simon Callan <si...@infoshare-is.com> on 2011/08/22 15:19:41 UTC

Compilation warning under Visual Studio 2008

Hi, 

 

I've just started using log4cxx 0.10, apr-1.4.5 and apr-util-1-3.12 under
Visual Studio 2008.

 

When I compile my project t in release mode, I get the following warnings:

 

warning C4275: non dll-interface class 'std::_Container_base_aux' used as
base for dll-interface class 'std::_Container_base_aux_alloc_real<_Alloc>'

warning C4251: 'std::_Container_base_aux_alloc_real<_Alloc>::_Alaux' : class
'std::allocator<_Ty>' needs to have dll-interface to be used by clients of
class 'std::_Container_base_aux_alloc_real<_Alloc>'

 

There appears to have been some effort to suppress the output of these
warnings (#pragma disable warning 4275 4251). Are these warning likely to be
symptoms of problems to come using log4cxx, or can I ignore them with no
issues?

 

Simopn

 


Infoshare Ltd
Millennium House
21 Eden Street
Kingston upon Thames
Surrey
KT1 1BL
United Kingdom

Phone: 		+ 44 (0) 20 8541 0111
Support:	+ 44 (0) 20 8481 4760
Web:		www.infoshare-is.com
E-mail:		info@infoshare-is.com

Infoshare Ltd is registered in England and Wales.
Registered Office as above.
Registered Number 2877612
VAT Number GB 678 1443 10

The content of this e-mail (and any attachment to it) is confidential. 
Any views or opinions do not represent the views or opinions 
of Infoshare Ltd.
If you have received this e-mail in error please notify the sender 
and delete it. You may not use, copy or disclose the information 
in any way. 

Infoshare Ltd monitors incoming and outgoing e-mails.

Please consider the environment. Do you really need to print 
this email?