Hi everyone,
I saw the recent patch for gcc 4.0 and tried it out on Mac OS X
10.4.2. There is still one problem:
c++ -g -pipe -D__pic__ -c socketft.cpp
socketft.cpp: In member function 'bool
CryptoPP::Socket::Accept(CryptoPP::Socket&, sockaddr*,
CryptoPP::socklen_t*)':
socketft.cpp:167: error: invalid conversion from
'CryptoPP::socklen_t*' to 'socklen_t*'
socketft.cpp:167: error: initializing argument 3 of 'int accept(int,
sockaddr*, socklen_t*)'
socketft.cpp: In member function 'void
CryptoPP::Socket::GetSockName(sockaddr*, CryptoPP::socklen_t*)':
socketft.cpp:178: error: invalid conversion from
'CryptoPP::socklen_t*' to 'socklen_t*'
socketft.cpp:178: error: initializing argument 3 of 'int
getsockname(int, sockaddr*, socklen_t*)'
It looks like socklen_t* is causing a problem. Does anyone have any
suggestions for how this could be fixed?
I'd be happy to supply any additional information needed or do any
additional testing.
Thanks,
Kevin