Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1104

Name collision when using "axutil_dir_windows.h"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • util
    • None

    Description

      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.

      Attachments

        1. AXIS2C-1104.patch
          5 kB
          Danushka Menikkumbura

        Activity

          People

            shankar Selvaratnam Uthaiyashankar
            danushka Danushka Menikkumbura
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: