Bug 4179 - MinGW64-64 has problems compiling ACE SSL library
Summary: MinGW64-64 has problems compiling ACE SSL library
Status: NEW
Alias: None
Product: ACE
Classification: Unclassified
Component: SSL Wrappers (show other bugs)
Version: 6.2.7
Hardware: All Linux
: P3 normal
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2014-08-11 02:19 CDT by Johnny Willemsen
Modified: 2014-08-11 02:19 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johnny Willemsen 2014-08-11 02:19:13 CDT
g++ -O3 -mthreads -mtune=generic -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -DNDEBUG -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -Wno-unknown-pragmas -DNDEBUG -IC:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE -DACE_NDEBUG -DACE_NO_INLINE -I../.. -DACE_HAS_VERSIONED_NAMESPACE=1 -IC:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/openssl-1.0.0c/include -DACE_SSL_BUILD_DLL -c -o .shobj/SSL_SOCK_Acceptor.o SSL_SOCK_Acceptor.cpp
SSL_SOCK_Acceptor.cpp: In member function 'int ACE_6_2_7::ACE_SSL_SOCK_Acceptor::ssl_accept(ACE_6_2_7::ACE_SSL_SOCK_Stream&, ACE_6_2_7::ACE_Time_Value*) const':
SSL_SOCK_Acceptor.cpp:137:44: error: cast from 'ACE_HANDLE {aka void*}' to 'int' loses precision [-fpermissive]
status = ACE::select (int (handle) + 1,
^
In file included from SSL_SOCK_Acceptor.cpp:12:0:
C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Time_Value.h: At global scope:
C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Time_Value.h:424:30: warning: 'ACE_6_2_7::__zero_time' defined but not used [-Wunused-variable]
static const ACE_Time_Value& __zero_time = ACE_Time_Value::zero;
^
C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Time_Value.h:425:30: warning: 'ACE_6_2_7::__max_time' defined but not used [-Wunused-variable]
static const ACE_Time_Value& __max_time = ACE_Time_Value::max_time;
^
make[1]: *** [.shobj/SSL_SOCK_Acceptor.o] Error 1
g++ -O3 -mthreads -mtune=generic -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -DNDEBUG -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -Wno-unknown-pragmas -DNDEBUG -IC:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE -DACE_NDEBUG -DACE_NO_INLINE -I../.. -DACE_HAS_VERSIONED_NAMESPACE=1 -IC:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/openssl-1.0.0c/include -DACE_SSL_BUILD_DLL -c -o .shobj/SSL_SOCK_Connector.o SSL_SOCK_Connector.cpp
SSL_SOCK_Connector.cpp: In member function 'int ACE_6_2_7::ACE_SSL_SOCK_Connector::ssl_connect(ACE_6_2_7::ACE_SSL_SOCK_Stream&, const ACE_6_2_7::ACE_Time_Value*)':
SSL_SOCK_Connector.cpp:156:44: error: cast from 'ACE_HANDLE {aka void*}' to 'int' loses precision [-fpermissive]
status = ACE::select (int (handle) + 1,
^
In file included from C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Countdown_Time_T.h:24:0,
from C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Countdown_Time.h:23,
from SSL_SOCK_Connector.cpp:11:
C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Time_Value.h: At global scope:
C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Time_Value.h:424:30: warning: 'ACE_6_2_7::__zero_time' defined but not used [-Wunused-variable]
static const ACE_Time_Value& __zero_time = ACE_Time_Value::zero;
^
C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Time_Value.h:425:30: warning: 'ACE_6_2_7::__max_time' defined but not used [-Wunused-variable]
static const ACE_Time_Value& __max_time = ACE_Time_Value::max_time;
^
make[1]: *** [.shobj/SSL_SOCK_Connector.o] Error 1
g++ -O3 -mthreads -mtune=generic -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -DNDEBUG -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -Wno-unknown-pragmas -DNDEBUG -IC:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE -DACE_NDEBUG -DACE_NO_INLINE -I../.. -DACE_HAS_VERSIONED_NAMESPACE=1 -IC:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/openssl-1.0.0c/include -DACE_SSL_BUILD_DLL -c -o .shobj/SSL_SOCK_Stream.o SSL_SOCK_Stream.cpp
In file included from SSL_SOCK_Stream.cpp:15:0:
SSL_SOCK_Stream.inl: In member function 'void ACE_6_2_7::ACE_SSL_SOCK_Stream::set_handle(ACE_HANDLE)':
SSL_SOCK_Stream.inl:20:46: error: cast from 'ACE_HANDLE {aka void*}' to 'int' loses precision [-fpermissive]
(void) ::SSL_set_fd (this->ssl_, (int) fd);
^
SSL_SOCK_Stream.cpp: In member function 'ssize_t ACE_6_2_7::ACE_SSL_SOCK_Stream::recvv(iovec*, const ACE_6_2_7::ACE_Time_Value*) const':
SSL_SOCK_Stream.cpp:134:45: error: cast from 'ACE_HANDLE {aka void*}' to 'int' loses precision [-fpermissive]
ACE_OS::select (int (this->get_handle ()) + 1,
^
In file included from C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Countdown_Time_T.h:24:0,
from C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Countdown_Time.h:23,
from SSL_SOCK_Stream.cpp:5:
C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Time_Value.h: At global scope:
C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Time_Value.h:424:30: warning: 'ACE_6_2_7::__zero_time' defined but not used [-Wunused-variable]
static const ACE_Time_Value& __zero_time = ACE_Time_Value::zero;
^
C:/Jenkins/workspace/win81_mingw64-64_ciaox11_jwi/BUILD/DOC_ROOT/ACE/ace/Time_Value.h:425:30: warning: 'ACE_6_2_7::__max_time' defined but not used [-Wunused-variable]
static const ACE_Time_Value& __max_time = ACE_Time_Value::max_time;
^
make[1]: *** [.shobj/SSL_SOCK_Stream.o] Error 1