sunfirefox / tangramcom

Automatically exported from code.google.com/p/tangramcom
Other
3 stars 0 forks source link

build error #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Building CommonUtilitiesLib for Linux.x86_64 with gcc
g++ -c -D_REENTRANT -D__USE_POSIX -D__linux__=1  -pipe  -g -Wall -W  
-fvisibility=hidden -fno-rtti -D_TRANZDA_VM_ -DTGMCOMUTI_MAKEDLL 
-I/usr/local/include -I. -I.. -I../../include -I../../include/LinuxSupport -o 
./DebugLinux/UnixSocket.o ./Sources/UnixSocket.cpp
./Sources/UnixSocket.cpp: In member function ‘void UnixSocket::Set(int, 
sockaddr_un*)’:
./Sources/UnixSocket.cpp:89:82: error: cannot convert ‘size_t*’ to 
‘socklen_t*’ for argument ‘3’ to ‘int getsockname(int, sockaddr*, 
socklen_t*)’

Original issue reported on code.google.com by luke.lei...@gmail.com on 14 Sep 2012 at 7:16

GoogleCodeExporter commented 9 years ago
#else
        socklen_t nLen = sizeof(m_fLocalAddr);
#endif

Original comment by luke.lei...@gmail.com on 14 Sep 2012 at 7:17