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

!gcc compile error [PATCH]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.96
    • None
    • None

    Description

      Compilers that aren't gcc don't support GCCs extensions for varadic macros; but C99 has support for them.

      The attached patch does not cause a regression for RedHat platforms, but does fix a compile error for the solaris platforms. It may even work for other platforms as well.

      It is possible that the WIN32 clause could be safely removed with a suitable (and different) test along the lines of
      #ifdef _STDC_ && __STDC_VERSION >= 199901L
      but I don't have a pet windows sytem to test with.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--signature.asc
          0.2 kB
          Mike Bristow
        2. axis2c.patch
          3 kB
          Mike Bristow

        Activity

          People

            pini Sanjaya Ratnaweera
            mike.bristow@thus.net Mike Bristow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: