Has anyone else noticed that the many "copy constructor could not be generated" warnings that appear when the compiler warning level is set to maximum? I'm not trying to build Xerces-c, but just included the header files I need in my project.
 
Are these valid warnings? Do I need to worry about them?
 
Thanks
Matt
 
 
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\framework\localfileinputsource.hpp(213) : warning C4511: 'LocalFileInputSource' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\framework\localfileinputsource.hpp(127) : see declaration of 'LocalFileInputSource'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\framework\xmlbuffer.hpp(261) : warning C4511: 'XMLBuffer' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\framework\xmlbuffer.hpp(119) : see declaration of 'XMLBuffer'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\validators\dtd\dtdattdef.hpp(171) : warning C4511: 'DTDAttDef' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\validators\dtd\dtdattdef.hpp(104) : see declaration of 'DTDAttDef'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\util\hashbase.hpp(94) : warning C4511: 'HashBase' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\util\hashbase.hpp(71) : see declaration of 'HashBase'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\util\hashxmlch.hpp(80) : warning C4511: 'HashXMLCh' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\util\hashxmlch.hpp(72) : see declaration of 'HashXMLCh'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\validators\dtd\dtdelementdecl.hpp(280) : warning C4511: 'DTDElementDecl' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\validators\dtd\dtdelementdecl.hpp(139) : see declaration of 'DTDElementDecl'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\framework\xmlbuffermgr.hpp(156) : warning C4511: 'XMLBufferMgr' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\framework\xmlbuffermgr.hpp(117) : see declaration of 'XMLBufferMgr'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\framework\xmlbuffermgr.hpp(253) : warning C4511: 'XMLBufBid' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\framework\xmlbuffermgr.hpp(164) : see declaration of 'XMLBufBid'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\internal\xmlreader.hpp(588) : warning C4511: 'XMLReader' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\internal\xmlreader.hpp(201) : see declaration of 'XMLReader'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\internal\readermgr.hpp(184) : warning C4511: 'LastExtEntityInfo' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\internal\readermgr.hpp(178) : see declaration of 'LastExtEntityInfo'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\internal\readermgr.hpp(374) : warning C4511: 'ReaderMgr' : copy constructor could not be generated
        d:\downloads\xerces-c_2_3_0-win32\include\xercesc\internal\readermgr.hpp(171) : see declaration of 'ReaderMgr'
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\sax2\xmlreaderfactory.hpp(123) : warning C4673: throwing 'class xercesc_2_3::SAXNotSupportedException' the following types will not be considered at the catch site
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\sax2\xmlreaderfactory.hpp(123) : warning C4671: 'SAXNotSupportedException::SAXException::XMemory' : the copy constructor is inaccessible
d:\downloads\xerces-c_2_3_0-win32\include\xercesc\sax2\xmlreaderfactory.hpp(121) : warning C4100: 'className' : unreferenced formal parameter
 

The information in this email and attachments is confidential and intended for the attention and use of the named addressee(s). It must not be disclosed, distributed, or copied to any other person without APT's written consent. If you are not the named addressee(s), or a person responsible for delivering it, you are hereby notified that any disclosure, copying, distribution or taking any action in relation to the information is strictly prohibited and may be unlawful. 

 

Reply via email to