bug-commoncpp
[Top][All Lists]
Advanced

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

VS2003 can't compile cc++


From: Andrey Kulikov
Subject: VS2003 can't compile cc++
Date: Wed, 26 May 2004 13:16:00 +0400

CommonC++ 1.1.8 from sf.net.

VS 2003 can't compile network.cpp because ost::NetworkDeviceInfo has
no copy-constructor.

Solution:
Declare String's operator= as const.

string.h:

        inline String &operator=(const String &original)
                {copy(original); return *this;};



This error appears in pre-releace versions, and seems bo be fixed.
But it appear again...

-- 
Best regards,
 Andrey                            mailto:address@hidden





reply via email to

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