remove compiler warnings
------------------------
Key: AXISCPP-517
URL: http://issues.apache.org/jira/browse/AXISCPP-517
Project: Axis-C++
Type: Bug
Versions: current (nightly)
Reporter: Samisa Abeysinghe
Priority: Minor
There are few warnings (and some may be serious) that we better eliminate
compileAxisClient:
[cc] Starting dependency analysis for 3 files.
[cc] 3 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 123 total files to be compiled.
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/HexCoder.cpp: In
function `int
[cc] Hex_Decode(unsigned char*, const char*)':
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/HexCoder.cpp:57:
warning: array
[cc] subscript has type `char'
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/HexCoder.cpp:58:
warning: array
[cc] subscript has type `char'
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/xsd/DateTime.cpp: In
member function
[cc] `axiscpp::xsd__dateTime*
axiscpp::DateTime::deserializeDateTime(const char*)
[cc] ':
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/xsd/DateTime.cpp:230:
warning: declaration
[cc] of `temp' shadows a previous local
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/xsd/DateTime.cpp:175:
warning: shadowed
[cc] declaration is here
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapFault.h:50: warning:
`
[cc] SoapFaultStruct*s_parrSoapFaultStruct' defined but not used
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/xsd/Time.cpp: In member
function `
[cc] axiscpp::xsd__time* axiscpp::Time::deserializeTime(const char*)':
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/xsd/Time.cpp:224:
warning: declaration
[cc] of `temp' shadows a previous local
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/xsd/Time.cpp:171:
warning: shadowed
[cc] declaration is here
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapFault.h:50: warning:
`
[cc] SoapFaultStruct*s_parrSoapFaultStruct' defined but not used
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapFault.h:50: warning:
`
[cc] SoapFaultStruct*s_parrSoapFaultStruct' defined but not used
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapSerializer.cpp: In
member
[cc] function `axiscpp::IWrapperSoapSerializer&
[cc] axiscpp::SoapSerializer::operator<<(const char*)':
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapSerializer.cpp:416:
warning: unused
[cc] variable `int nStatus'
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapSerializer.cpp: In
member
[cc] function `virtual void
[cc] axiscpp::SoapSerializer::addNamespaceToEnvelope(char*, char*)':
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapSerializer.cpp:1178:
warning: passing
[cc] NULL used for non-pointer converting 1 of `std::list<_Tp,
[cc] _Alloc>::list(unsigned int) [with _Tp = axiscpp::Attribute*,
_Alloc =
[cc] std::allocator<axiscpp::Attribute*>]'
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapEnvelope.h: At top
level:
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapFault.h:50: warning:
`
[cc] SoapFaultStruct*s_parrSoapFaultStruct' defined but not used
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapKeywordMapping.cpp:
In static
[cc] member function `static void
axiscpp::SoapKeywordMapping::initialize()':
[cc]
/home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapKeywordMapping.cpp:62: warning:
passing
[cc] NULL used for non-pointer converting 1 of `std::list<_Tp,
[cc] _Alloc>::list(unsigned int) [with _Tp = axiscpp::Attribute*,
_Alloc =
[cc] std::allocator<axiscpp::Attribute*>]'
[cc]
/home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapKeywordMapping.cpp:64: warning:
passing
[cc] NULL used for non-pointer converting 1 of `std::list<_Tp,
[cc] _Alloc>::list(unsigned int) [with _Tp = axiscpp::Attribute*,
_Alloc =
[cc] std::allocator<axiscpp::Attribute*>]'
[cc]
/home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapKeywordMapping.cpp:66: warning:
passing
[cc] NULL used for non-pointer converting 1 of `std::list<_Tp,
[cc] _Alloc>::list(unsigned int) [with _Tp = axiscpp::Attribute*,
_Alloc =
[cc] std::allocator<axiscpp::Attribute*>]'
[cc]
/home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapKeywordMapping.cpp:69: warning:
passing
[cc] NULL used for non-pointer converting 1 of `std::list<_Tp,
[cc] _Alloc>::list(unsigned int) [with _Tp = axiscpp::Attribute*,
_Alloc =
[cc] std::allocator<axiscpp::Attribute*>]'
[cc]
/home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapKeywordMapping.cpp:71: warning:
passing
[cc] NULL used for non-pointer converting 1 of `std::list<_Tp,
[cc] _Alloc>::list(unsigned int) [with _Tp = axiscpp::Attribute*,
_Alloc =
[cc] std::allocator<axiscpp::Attribute*>]'
[cc]
/home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapKeywordMapping.cpp:73: warning:
passing
[cc] NULL used for non-pointer converting 1 of `std::list<_Tp,
[cc] _Alloc>::list(unsigned int) [with _Tp = axiscpp::Attribute*,
_Alloc =
[cc] std::allocator<axiscpp::Attribute*>]'
[cc]
/home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapAttachementHeaders.cpp:84:23:
warning: no newline at end of file
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/common/AxisUtils.cpp:168:23:
warning: no newline at end of file
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapDeSerializer.cpp: In
member
[cc] function `axiscpp::SoapEnvelope*
axiscpp::SoapDeSerializer::getEnvelope()':
[cc]
/home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapDeSerializer.cpp:129: warning:
passing
[cc] NULL used for non-pointer converting 1 of `std::list<_Tp,
[cc] _Alloc>::list(unsigned int) [with _Tp = axiscpp::Attribute*,
_Alloc =
[cc] std::allocator<axiscpp::Attribute*>]'
[cc]
/home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapDeSerializer.cpp:154: warning:
passing
[cc] NULL used for non-pointer converting 1 of `std::list<_Tp,
[cc] _Alloc>::list(unsigned int) [with _Tp = axiscpp::Attribute*,
_Alloc =
[cc] std::allocator<axiscpp::Attribute*>]'
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapDeSerializer.cpp: In
member
[cc] function `virtual int axiscpp::SoapDeSerializer::getHeader()':
[cc]
/home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapDeSerializer.cpp:260: warning:
passing
[cc] NULL used for non-pointer converting 1 of `std::list<_Tp,
[cc] _Alloc>::list(unsigned int) [with _Tp = axiscpp::Attribute*,
_Alloc =
[cc] std::allocator<axiscpp::Attribute*>]'
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/xml/AnyElement.h: In member
function `
[cc] virtual axiscpp::xsd__base64Binary
[cc] axiscpp::SoapDeSerializer::getBodyAsBase64Binary()':
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/xml/AnyElement.h:120:
warning: enumeration
[cc] value `START_PREFIX' not handled in switch
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/xml/AnyElement.h:120:
warning: enumeration
[cc] value `END_PREFIX' not handled in switch
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/xml/AnyElement.h: In member
function `
[cc] virtual char* axiscpp::SoapDeSerializer::getBodyAsChar()':
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/xml/AnyElement.h:120:
warning: enumeration
[cc] value `START_PREFIX' not handled in switch
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/xml/AnyElement.h:120:
warning: enumeration
[cc] value `END_PREFIX' not handled in switch
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapDeSerializer.cpp: At
top level:
[cc] /home/samisa/autoCVS/cvsAutoBuild/src/soap/SoapFault.h:50: warning:
`
[cc] SoapFaultStruct*s_parrSoapFaultStruct' defined but not used
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira