axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-739) Eliminate compiler warnings on Linux platform
Date Mon, 11 Jul 2005 04:40:09 GMT
Eliminate compiler warnings on Linux platform
---------------------------------------------

         Key: AXISCPP-739
         URL: http://issues.apache.org/jira/browse/AXISCPP-739
     Project: Axis-C++
        Type: Improvement
  Components: Build - ANT  
    Versions: current (nightly)    
 Environment: Linux with gcc compiler
    Reporter: Samisa Abeysinghe
     Fix For: 1.6 Alpha


Here are the warnings as of 11th July 2005:

Buildfile: build.xml

pre-init:

set-platform-specifics:

checkIfDebug:

initialize:

build:

compile:

compileClient:

compileAxisClient:

buildVersionResource:
       [cc] 126 total files to be compiled.
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/ArrayBean.cpp: In member function `
       [cc]    virtual int axiscpp::ArrayBean::Serialize(axiscpp::SoapSerializer&)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/ArrayBean.cpp:215: warning: unused 
       [cc]    variable `int stat'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/ArrayBean.cpp:240: warning: unused 
       [cc]    variable `int stat'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp: In member function `
       [cc]    virtual axiscpp::Param::~Param()':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp:40: warning: unused 
       [cc]    variable `int i'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp:41: warning: unused 
       [cc]    variable `char*pStr'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp:42: warning: unused 
       [cc]    variable `axiscpp::AnyType*pAny'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp: In member function `int 
       [cc]    axiscpp::Param::serialize(axiscpp::SoapSerializer&)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp:158: warning: unused 
       [cc]    variable `int stat'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp:168: warning: unused 
       [cc]    variable `int stat'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/soap/SoapSerializer.cpp: In member function

       [cc]    `axiscpp::IWrapperSoapSerializer& axiscpp::SoapSerializer::operator<<(const

       [cc]    char*)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/soap/SoapSerializer.cpp:490: warning: unused

       [cc]    variable `int nStatus'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/soap/xsd/Long.cpp:79:63: warning: integer constant
is so large that it is unsigned
       [cc] /home/samisa/axiscpp/ws-axis/c/src/soap/xsd/Long.cpp: In member function `
       [cc]    virtual axiscpp::MinInclusive* axiscpp::Long::getMinInclusive()':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/soap/xsd/Long.cpp:79: warning: this decimal

       [cc]    constant is unsigned only in ISO C90


       [cc] Starting link



compileTransport:

compileAxisTransport:

buildVersionResource:
       [cc] 5 total files to be compiled.
       [cc] /home/samisa/axiscpp/ws-axis/c/src/transport/axis3/HTTPTransport.cpp: In member

       [cc]    function `virtual axiscpp::AXIS_TRANSPORT_STATUS 
       [cc]    HTTPTransport::getBytes(char*, int*)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/transport/axis3/HTTPTransport.cpp:461: warning:
`
       [cc]    int iIterationCountdown' might be used uninitialized in this function


       [cc] Starting link



compileAxisHTTPTransportChannel:

buildVersionResource:
       [cc] 4 total files to be compiled.


       [cc] Starting link



compileXMLParser:

compileAxisXMLParser:

buildVersionResource:
       [cc] 6 total files to be compiled.


       [cc] Starting link



compileServer:

compileAxisServerEngine:

buildVersionResource:
       [cc] 124 total files to be compiled.
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/ArrayBean.cpp: In member function `
       [cc]    virtual int axiscpp::ArrayBean::Serialize(axiscpp::SoapSerializer&)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/ArrayBean.cpp:215: warning: unused 
       [cc]    variable `int stat'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/ArrayBean.cpp:240: warning: unused 
       [cc]    variable `int stat'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp: In member function `
       [cc]    virtual axiscpp::Param::~Param()':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp:40: warning: unused 
       [cc]    variable `int i'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp:41: warning: unused 
       [cc]    variable `char*pStr'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp:42: warning: unused 
       [cc]    variable `axiscpp::AnyType*pAny'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp: In member function `int 
       [cc]    axiscpp::Param::serialize(axiscpp::SoapSerializer&)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp:158: warning: unused 
       [cc]    variable `int stat'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/common/Param.cpp:168: warning: unused 
       [cc]    variable `int stat'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/soap/SoapSerializer.cpp: In member function

       [cc]    `axiscpp::IWrapperSoapSerializer& axiscpp::SoapSerializer::operator<<(const

       [cc]    char*)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/soap/SoapSerializer.cpp:490: warning: unused

       [cc]    variable `int nStatus'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/soap/xsd/Long.cpp:79:63: warning: integer constant
is so large that it is unsigned
       [cc] /home/samisa/axiscpp/ws-axis/c/src/soap/xsd/Long.cpp: In member function `
       [cc]    virtual axiscpp::MinInclusive* axiscpp::Long::getMinInclusive()':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/soap/xsd/Long.cpp:79: warning: this decimal

       [cc]    constant is unsigned only in ISO C90


       [cc] Starting link



compileApache13Module:

buildVersionResource:
       [cc] 3 total files to be compiled.
       [cc] In file included from /home/samisa/axiscpp/ws-axis/c/src/server/apache/AttachmentHelper.cpp:19:
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache/AttachmentHelper.h:32: warning:
ignoring
       [cc]    #pragma warning 
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache/AttachmentHelper.cpp: In 
       [cc]    member function `void AttachmentHelper::extract_Attachment(char*)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache/AttachmentHelper.cpp:65: warning:
comparison
       [cc]    between signed and unsigned integer expressions
       [cc] In file included from /home/samisa/axiscpp/ws-axis/c/src/server/apache/ApacheTransport.h:48,
       [cc]                  from /home/samisa/axiscpp/ws-axis/c/src/server/apache/ApacheTransport.cpp:28:
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache/AttachmentHelper.h:32: warning:
ignoring
       [cc]    #pragma warning 
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache/ApacheTransport.cpp: In member

       [cc]    function `virtual axiscpp::AXIS_TRANSPORT_STATUS 
       [cc]    ApacheTransport::getBytes(char*, int*)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache/ApacheTransport.cpp:172: warning:
unused
       [cc]    variable `char*pAttachBuffer'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache/ApacheTransport.cpp:173: warning:
unused
       [cc]    variable `char*mimeBoundary'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache/ApacheTransport.cpp:335:3: warning:
no newline at end of file
       [cc] In file included from /home/samisa/axiscpp/ws-axis/c/src/server/apache/ApacheTransport.h:48,
       [cc]                  from /home/samisa/axiscpp/ws-axis/c/src/server/apache/mod_axis.cpp:21:
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache/AttachmentHelper.h:32: warning:
ignoring
       [cc]    #pragma warning 


       [cc] Starting link



compileApache20Module:

buildVersionResource:
Suspicious library name starting with "lib": libapr
Suspicious library name starting with "lib": libhttpd
       [cc] 3 total files to be compiled.
       [cc] In file included from /home/samisa/axiscpp/ws-axis/c/src/server/apache2/AttachmentHelper.cpp:19:
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache2/AttachmentHelper.h:32: warning:
ignoring
       [cc]    #pragma warning 
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache2/AttachmentHelper.cpp: In 
       [cc]    member function `void AttachmentHelper::extract_Attachment(char*)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache2/AttachmentHelper.cpp:65: warning:
comparison
       [cc]    between signed and unsigned integer expressions
       [cc] In file included from /home/samisa/axiscpp/ws-axis/c/src/server/apache2/Apache2Transport.h:50,
       [cc]                  from /home/samisa/axiscpp/ws-axis/c/src/server/apache2/Apache2Transport.cpp:21:
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache2/AttachmentHelper.h:32: warning:
ignoring
       [cc]    #pragma warning 
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache2/Apache2Transport.cpp: In 
       [cc]    member function `virtual axiscpp::AXIS_TRANSPORT_STATUS 
       [cc]    Apache2Transport::getBytes(char*, int*)':
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache2/Apache2Transport.cpp:161: warning:
unused
       [cc]    variable `char*pAttachBuffer'
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache2/Apache2Transport.cpp:162: warning:
unused
       [cc]    variable `char*mimeBoundary'
       [cc] In file included from /home/samisa/axiscpp/ws-axis/c/src/server/apache2/Apache2Transport.h:50,
       [cc]                  from /home/samisa/axiscpp/ws-axis/c/src/server/apache2/mod_axis2.cpp:21:
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache2/AttachmentHelper.h:32: warning:
ignoring
       [cc]    #pragma warning 
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache2/mod_axis2.cpp:80: warning: `
       [cc]    void axis_Init(server_rec*, apr_pool_t*)' defined but not used
       [cc] /home/samisa/axiscpp/ws-axis/c/src/server/apache2/mod_axis2.cpp:85: warning: `
       [cc]    void axis_Fini(server_rec*, apr_pool_t*)' defined but not used


       [cc] Starting link


-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message