You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Sanjaya Ratnaweera (JIRA)" <ji...@apache.org> on 2006/11/22 04:16:03 UTC

[jira] Commented: (AXIS2C-157) !gcc compile error [PATCH]

    [ http://issues.apache.org/jira/browse/AXIS2C-157?page=comments#action_12451854 ] 
            
Sanjaya Ratnaweera commented on AXIS2C-157:
-------------------------------------------

Hi Mike,
    Your patch is a quite old one, our build system changed a lot since then. For example now axis2_log.h is not in /include, it's in /util/include since we separated it as a sub project. Anyway I've managed to apply the patch.  But I don't understand this, 

"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 system to test with. "

can you please explain it little bit more ;-)

> !gcc compile error [PATCH]
> --------------------------
>
>                 Key: AXIS2C-157
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-157
>             Project: Axis2-C
>          Issue Type: Bug
>         Environment: SunOS 5.8 sun4u & cc: Sun C 5.5 Patch 112760-18 2005/06/14
> SunOS 5.9 sun4u & cc: Sun C 5.5 Patch 112760-18 2005/06/14
> SunOS 5.9 i86pc & cc: Sun C 5.8 Patch 121016-02 2006/03/31
> SunOS 5.10 sun4u & cc: Sun C 5.8 Patch 121015-02 2006/03/29
> SunOS 5.10 i86pc & cc: Sun C 5.8 Patch 121016-02 2006/03/31
> redhat-3as-ia32 & gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
> redhat-el4-i386 & gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
> redhat-3fc-i386 & gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
> redhat-fc4-i386 & gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
> redhat-fc5-i386 & gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
>            Reporter: Mike Bristow
>         Assigned To: Sanjaya Ratnaweera
>         Attachments: axis2c.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org