axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danushka Menikkumbura (JIRA)" <>
Subject [jira] Updated: (AXIS2C-1104) Name collision when using "axutil_dir_windows.h"
Date Tue, 08 Apr 2008 10:55:25 GMT


Danushka Menikkumbura updated AXIS2C-1104:

    Attachment: AXIS2C-1104.patch

Please find the attached patch to fix the issue.

> Name collision when using "axutil_dir_windows.h"
> ------------------------------------------------
>                 Key: AXIS2C-1104
>                 URL:
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: util
>    Affects Versions: Current (Nightly)
>            Reporter: Danushka Menikkumbura
>         Attachments: AXIS2C-1104.patch
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message