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 "Mark Whitlock (JIRA)" <ax...@ws.apache.org> on 2005/02/17 12:31:48 UTC

[jira] Closed: (AXISCPP-451) Generated stubs containing faults fail to compile on Linux and AIX

     [ http://issues.apache.org/jira/browse/AXISCPP-451?page=history ]
     
Mark Whitlock closed AXISCPP-451:
---------------------------------

     Resolution: Fixed
    Fix Version: current (nightly)

Fixed by adding in throw()

> Generated stubs containing faults fail to compile on Linux and AIX
> ------------------------------------------------------------------
>
>          Key: AXISCPP-451
>          URL: http://issues.apache.org/jira/browse/AXISCPP-451
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: Adrian Dick
>     Assignee: Mark Whitlock
>      Fix For: current (nightly)

>
> The generated stubs from a WSDL containing faults fails to compile on AIX and Linux.
> As shown by the test case ExceptionTestDoc:
> In file included from /home/axistest/test_P/obj/test/generated/cpp/ExceptionTestDoc/SpecialDetailStruct.cpp:8:
>        [cc] /home/axistest/test_P/obj/test/generated/cpp/ExceptionTestDoc/SpecialDetailStruct.hpp:22: looser 
>        [cc]    throw specifier for `virtual SpecialDetailStruct::~SpecialDetailStruct()'
>        [cc] /home/axistest/test_P/wscc-1.0-Linux/include/axis/SoapFaultException.hpp:47:   
>        [cc]    overriding `virtual axiscpp::SoapFaultException::~SoapFaultException() throw 
>        [cc]    ()'
>        [cc] /home/axistest/test_P/obj/test/generated/cpp/ExceptionTestDoc/SpecialDetailStruct.hpp:22: looser
>        [cc]    throw specifier for `virtual SpecialDetailStruct::~SpecialDetailStruct()'
>        [cc] /home/axistest/test_P/wscc-1.0-Linux/include/axis/SoapFaultException.hpp:47:   
>        [cc]    overriding `virtual axiscpp::SoapFaultException::~SoapFaultException() throw 
>        [cc]    ()'
>        [cc] /home/axistest/test_P/obj/test/generated/cpp/ExceptionTestDoc/SpecialDetailStruct.hpp:22: looser
>        [cc]    throw specifier for `virtual SpecialDetailStruct::~SpecialDetailStruct()'
>        [cc] /home/axistest/test_P/wscc-1.0-Linux/include/axis/SoapFaultException.hpp:47:   
>        [cc]    overriding `virtual axiscpp::SoapFaultException::~SoapFaultException() throw 
>        [cc]    ()'
>        [cc] /home/axistest/test_P/obj/test/generated/cpp/ExceptionTestDoc/SpecialDetailStruct.hpp:15: warning: `
>        [cc]    const char*Axis_TypeName_SpecialDetailStruct' defined but not used
> Similar problems are also seen for:
> FaultMappingDoc
> FaultMappingRepeatedDoc
> MathOpsDoc
> TestSoapHeaderBlock
> TestSoapHeaderBlock2
> TestSoapHeaderBlock3

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira