[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile error on Windows NT4 SP 6 with Visual C++ 6.0
From: |
Paolo Ammann |
Subject: |
Compile error on Windows NT4 SP 6 with Visual C++ 6.0 |
Date: |
Tue, 09 Jan 2001 10:30:52 +0100 |
Hi
I downloaded CommonC++ ver. 1.3.0 rel.3 today (5.1.2000).
I compiled CommonC++ on Windows NT 4 ServicePack 6, with Visual C++ 6.0.
And I got the following error:
<<
d:\ammann\commonc++-1.3.0\win32\socket.h(759) : error C2059: Syntaxfehler : ')'
d:\ammann\commonc++-1.3.0\win32\peer.cpp(47) : error C2511:
'UDPTransmit::UDPTransmit' : Überladene Member-Funktion
'void (const class InetAddress &,unsigned short)' nicht in 'UDPTransmit'
gefunden
d:\ammann\commonc++-1.3.0\win32\socket.h(662) : Siehe Deklaration von
'UDPTransmit'
<<
It loks like there is a ")" too much in:
socket.h
<<
inline void endReceiver(void)
{Socket::endSocket());};
<<
and there is a difference between the definition and the implementation of the
constructor for the class:
UDPTransmit, and UDPDuplex.
socket.h
UDPTransmit(const InetAddress &bind, tpport_t port, tpport_t);
peer.cpp
UDPTransmit::UDPTransmit(const InetAddress &ia, tpport_t port)
socket.h
UDPDuplex(const InetAddress &bind, tpport_t send, tpport_t recv);
peer.cpp
UDPDuplex::UDPDuplex(const InetAddress &bind, tpport_t port)
I apologize for my bad English.
Best regards,
Ammann Paolo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compile error on Windows NT4 SP 6 with Visual C++ 6.0,
Paolo Ammann <=