Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 2467 invoked from network); 8 Apr 2008 09:04:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Apr 2008 09:04:54 -0000 Received: (qmail 72275 invoked by uid 500); 8 Apr 2008 09:04:54 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 72256 invoked by uid 500); 8 Apr 2008 09:04:54 -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 72245 invoked by uid 99); 8 Apr 2008 09:04:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 02:04:54 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 08 Apr 2008 09:04:02 +0000 Received: (qmail 35903 invoked from network); 8 Apr 2008 09:04:19 -0000 Received: from unknown (HELO ?62.12.10.239?) (unknown) by unknown with SMTP; 8 Apr 2008 09:04:19 -0000 X-pair-Authenticated: 62.12.10.239 Message-ID: <47FB3514.2090302@wso2.com> Date: Tue, 08 Apr 2008 14:34:20 +0530 From: Samisa Abeysinghe User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Apache AXIS C Developers List Subject: Re: Name collision when using "axutil_dir_windows.h" References: <47FB0E45.7090603@wso2.com> In-Reply-To: <47FB0E45.7090603@wso2.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org If we add AXIS2_ or axis2_ prefix to the problem names, that should fix the stuff. Thanks, Samisa... Danushka Menikkumbura wrote: > This happened when I was trying to write an extension to PERL with the > aid of SWIG. I came across two issues as mentioned below. > > 1. The struct name DIR declared in axutil_dir_windows.h collides with > the DIR struct declared in dirent.h that comes with the standard PERL > installation. > > 2. I get the following compile error as a result of the functions > opendir, closedir, readdir and rewinddir declared in > axutil_dir_windows.h. > error C2059: syntax error : '('. > > This should also be due to name conflicts as the file "win32iop.h" > that comes with the standard PERL installation has a set of macros > defined with similar names. > > Danushka > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-dev-help@ws.apache.org > > > -- Samisa Abeysinghe Software Architect; WSO2 Inc. http://www.wso2.com/ - "Oxygenating the Web Service Platform." --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org