Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 62461 invoked from network); 14 Oct 2004 12:40:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Oct 2004 12:40:13 -0000 Received: (qmail 91661 invoked by uid 500); 14 Oct 2004 12:40:13 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 91596 invoked by uid 500); 14 Oct 2004 12:40:12 -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 91581 invoked by uid 99); 14 Oct 2004 12:40:12 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [195.212.29.136] (HELO mtagate3.uk.ibm.com) (195.212.29.136) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 14 Oct 2004 05:40:11 -0700 Received: from d06nrmr1307.portsmouth.uk.ibm.com (d06nrmr1307.portsmouth.uk.ibm.com [9.149.38.129]) by mtagate3.uk.ibm.com (8.12.10/8.12.10) with ESMTP id i9ECe5rT177806 for ; Thu, 14 Oct 2004 12:40:05 GMT Received: from d06ml067.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1307.portsmouth.uk.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i9ECe4oe149988 for ; Thu, 14 Oct 2004 13:40:04 +0100 Subject: Fw: Re:changes To: axis-c-dev@ws.apache.org X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: Mark Whitlock Date: Thu, 14 Oct 2004 13:18:53 +0100 X-MIMETrack: Serialize by Router on D06ML067/06/M/IBM(Release 6.51HF338 | June 21, 2004) at 14/10/2004 13:43:18 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have moved AXIS_SEVERITY_LEVEL to AxisTrace.h since applications never need it. This should solve Valentin's immediate problem. I agree with John that the rest of the work should be done in 1.4. I am interested in this problem because I am interested in reworking the C bindings in 1.5 (and removing them in 1.4). Mark Mark Whitlock IBM ----- Forwarded by Mark Whitlock/UK/IBM on 14/10/2004 13:07 ----- "sanjaya singharage" "Apache AXIS C Developers List" 14/10/2004 12:07 cc Subject Please respond to Re: changes "Apache AXIS C Developers List" To avoid any confusion, the use of prefixes for the AXIS_SEVERITY_LEVEL does not have to do anything with the compilation issue described by bugs 172 and 162. What would be nice is to have the compilation issue that the transport has with AxisTrace be solved so that the tranport module can be tested for tracing too. sanjaya. ----- Original Message ----- From: "sanjaya singharage" To: "Apache AXIS C Developers List" Sent: Thursday, October 14, 2004 4:41 PM Subject: Re: changes > I took up the task of adding a prefix to AXIS_SEVERITY_LEVEL but did not > continue because the transport project would not compile with > ENABLE_AXISTRACE turned on. This issue would be still there with the new > transport. Please read the bugs 172 and 162. > > sanjaya. > > > > > Simply putting namespaces around these enums would break C applications, > > since C does not support namespaces. I agree this is the right solution > for > > C++. For C, it would be good to prefix all enums with AXIS_. I don't think > > AXIS_SEVERITY_LEVEL needs to be externalised anyway, since it is only used > > by trace and AxisTrace.h is not external. There is also a problem with > some > > externalised #defines like XML_Ch and SOAPACTIONHEADER which could also > > clash. > > > > So I propose move AXIS_SEVERITY_LEVEL to AxisTrace.h, for C++ put > > namespaces around all enums, for C prefix all enums with AXIS_, and for > > *both* C and C++ prefix all #defines with AXIS_. > > > > Unfortunately this will require applications changing, WSDL2WS changes and > > stubs being regenerated when users move to 1.3. Is this critical for 1.3 > or > > should we just move AXIS_SEVERITY_LEVEL to AxisTrace.h in 1.3 and fix it > > all properly for 1.4? > > > > I have raised JIRA AXISCPP-202 to track this problem. > > Mark > > Mark Whitlock > > IBM > > > > > > > > > >