Hi,

c:\Branches\main\cb\ExternalLibs\include\log4cxx\helpers \appenderattachableimpl.h(106) : warning C4250: 'log4cxx::helpers::AppenderAttachableImpl' : inherits 'log4cxx::helpers::ObjectImpl::log4cxx::helpers::ObjectImpl::addRef' v ia dominance
c:\Branches\main\cb\ExternalLibs\include\log4cxx\helpers \objectimpl.h(32) : see declaration of 'log4cxx::helpers::ObjectImpl::addRef'

For what I remember, this is really a *warning* only. The MSDN says the same:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/c4250.asp

   'class1' : inherits 'class2::member' via dominance
    There were two or more members with the same name. The one in class2
    was inherited since it was a base class for the other classes that
    contained this member.

    This warning is for informational purposes only.

We even disabled this warning in our software, because the native
compilers on all our other platforms (HP-UX, Solaris, AIX, Linux)
do not print this warning; its really annoying on MS-Windows because
other more severe warnings can easily be overlooked between all those
dominance warnings:

#if _WIN32
#if _MSC_VER
#pragma warning(disable: 4250)
#endif
#endif

Regards,

Andreas

Reply via email to