axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Hawkins (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-944) ipv6 files not required on vc7
Date Thu, 02 Mar 2006 13:10:39 GMT
ipv6 files not required on vc7
------------------------------

         Key: AXISCPP-944
         URL: http://issues.apache.org/jira/browse/AXISCPP-944
     Project: Axis-C++
        Type: Bug
  Components: Build - ANT  
    Versions:  1.6 Beta    
 Environment: Windows
    Reporter: John Hawkins


Hi,

I am now switching to build the latest svn checkout from the 1.5 release 
on windows. However, another error jumps out:

buildVersionResource:
  [delete] Deleting 2 files from C:\opt\work\simdesk\axisc++\build
    [copy] Copying 1 file to C:\opt\work\simdesk\axisc++\build
      [cc] 5 total files to be compiled.
      [cc] URL.cpp
      [cc] PlatformSpecificWindows.cpp
      [cc] HTTPTransportException.cpp
      [cc] HTTPChannelInstantiator.cpp
      [cc] 
c:\opt\work\simdesk\axisc++\src\transport\axis3\HTTPChannel\HTTPChannel.hpp(31) 
: fat
error C1083: Cannot open include file: 'tpipv6.h': No such file or 
directory
      [cc] HTTPChannel.cpp
      [cc] 
c:\opt\work\simdesk\axisc++\src\transport\axis3\HTTPChannel\HTTPChannel.hpp(31) 
: fat
error C1083: Cannot open include file: 'tpipv6.h': No such file or 
directory
      [cc] Generating Code...

I think the tpipv6 is only needed for VC6. All the ipv6 stuff is in 
later winsock2.h. I am using VC7...
So I made a small change to accommodate this, pleae see the attached 
patch.txt for detail.

cheers,
Tao
Index: C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPChannel/HTTPChannel.hpp
===================================================================
--- C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPChannel/HTTPChannel.hpp		 (revision
381684)
+++ C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPChannel/HTTPChannel.hpp		 (working
copy)
@@ -28,8 +28,10 @@
 
 #ifdef IPV6
 #include <ws2tcpip.h>
+#if P_HAS_IPV6 && !defined IPPROTO_IPV6
 #include <tpipv6.h>  // For IPv6 Tech Preview.
 #endif
+#endif
 
 // What version of WinSock is required
 const int    WS_VERSION_REQD    = 0x0101;
Index: C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp
===================================================================
--- C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp		 (revision
381684)
+++ C:/opt/work/simdesk/axisc++/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.hpp		 (working
copy)
@@ -30,8 +30,10 @@
 
 #ifdef IPV6
 #include <ws2tcpip.h>
+#if P_HAS_IPV6 && !defined IPPROTO_IPV6
 #include <tpipv6.h>  // For IPv6 Tech Preview.
 #endif
+#endif
 
 // What version of WinSock is required
 const int    WS_VERSION_REQD    = 0x0101;


-- 
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


Mime
View raw message