[ 
https://issues.apache.org/jira/browse/AXIS2C-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586752#action_12586752
 ] 

Danushka Menikkumbura commented on AXIS2C-1104:
-----------------------------------------------

Please note that I prefixed the method names scandir and readdir_r also with 
axis2_ to make them consistent with the others.

> Name collision when using "axutil_dir_windows.h"
> ------------------------------------------------
>
>                 Key: AXIS2C-1104
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1104
>             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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to