Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 95247 invoked from network); 11 Jul 2005 04:40:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jul 2005 04:40:28 -0000 Received: (qmail 45259 invoked by uid 500); 11 Jul 2005 04:40:27 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 44912 invoked by uid 500); 11 Jul 2005 04:40:25 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 44892 invoked by uid 99); 11 Jul 2005 04:40:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jul 2005 21:40:13 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 963BF16 for ; Mon, 11 Jul 2005 06:40:09 +0200 (CEST) Message-ID: <689927601.1121056809581.JavaMail.jira@ajax.apache.org> Date: Mon, 11 Jul 2005 06:40:09 +0200 (CEST) From: "Samisa Abeysinghe (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Created: (AXISCPP-739) Eliminate compiler warnings on Linux platform Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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