bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in win32


From: Mark A. Richman
Subject: bug in win32
Date: Wed, 18 Jul 2001 14:39:26 -0400

In building 1.5.0 for Win32, I got the following error:
 
C:\CommonC++-1.5.0\win32\Socket.cpp(868) : error C2572: 'TCPStream::TCPStream' : redefinition of default parameter : parameter 1
        c:\commonc++-1.5.0\win32\socket.h(1304) : see declaration of 'TCPStream::TCPStream'
 
My FIX:
 
The default parameter (bool throwflag = true) should read:
 
TCPStream::TCPStream(bool throwflag) {...}
 
I am using MS Visual C++ 6.0 service pack 5.
 
Regards,
Mark
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]