Issue Details (XML | Word | Printable)

Key: AXISCPP-264
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Adrian Dick
Reporter: Adrian Dick
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Axis-C++

Axis2Transport fails to compile on Windows

Created: 15/Nov/04 12:06 PM   Updated: 01/Feb/05 10:48 PM
Return to search
Component/s: Transport (Client)
Affects Version/s: current (nightly)
Fix Version/s: current (nightly)

Time Tracking:
Not Specified

Environment: ANT builds on Windows

Resolution Date: 15/Nov/04 04:49 PM


 Description  « Hide
The following error is seen when compiling Axis2Transport on Windows, using the ANT scripts:

On Windows:

       [cc] C:\development\build\src\ws-axis\c\src\transport\axis2\Axis2Transport.h(65) : error C4716: 'Axis2Transport::getAttachment' : must return a value


On Linux, this is only a warning:
       [cc] In file included from /home/dicka/cwssBuild/src/ws-axis/c/src/transport/axis2/Axis2Transport.cpp:28:
       [cc] /home/dicka/cwssBuild/src/ws-axis/c/src/transport/axis2/Axis2Transport.h: In
       [cc] member function `virtual const char* Axis2Transport::getAttachment(const
       [cc] char*)':
       [cc] /home/dicka/cwssBuild/src/ws-axis/c/src/transport/axis2/Axis2Transport.h:65: warning: no
       [cc] return statement in function returning non-void

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Adrian Dick added a comment - 15/Nov/04 04:49 PM
I have added return NULL; to Axis2Transport::getAttachment

Building and running the tests on Windows and Linux works without problem.

John Hawkins added a comment - 01/Feb/05 10:48 PM
Fixed And axis2 transport is now outof date and axis3 is default transport.