Qt-interest Archive, June 2007
Qt 4.3.0 with Visual Studio 2002: copy constructor and assignment operator warnings
Message 1 in thread
Apologies if this isn't really a Qt question, but I thought other people
might have encountered the problem while (like me) migrating from Qt3 to
4.
With level 4 warnings turned on in Visual Studio, I'm getting lots of
the following errors:
warning C4511: copy constructor could not be generated
warning C4512: assignment operator could not be generated
Any ideas why I'm getting this in Qt 4.3.0 and not in Qt 3.3.8?
Sam Dutton
SAM DUTTON
SENIOR SITE DEVELOPER
200 GRAY'S INN ROAD
LONDON
WC1X 8XZ
UNITED KINGDOM
T +44 (0)20 7430 4496
F
E SAM.DUTTON@xxxxxxxxx
WWW.ITN.CO.UK
Please Note:
Any views or opinions are solely those of the author and do not necessarily represent
those of Independent Television News Limited unless specifically stated.
This email and any files attached are confidential and intended solely for the use of the individual
or entity to which they are addressed.
If you have received this email in error, please notify postmaster@xxxxxxxxx
Please note that to ensure regulatory compliance and for the protection of our clients and business,
we may monitor and read messages sent to and from our systems.
Thank You.
Message 2 in thread
The first thing I would do is upgrade to at least VS 2003. VS 2002 has many
bugs and even MS recommends not using it.
Keith
**Please do not reply to me, reply to the list.**
On 06-12-2007 12:19 PM, "Dutton, Sam" wrote:
> Apologies if this isn't really a Qt question, but I thought other people might
> have encountered the problem while (like me) migrating from Qt3 to 4.
>
> With level 4 warnings turned on in Visual Studio, I'm getting lots of the
> following errors:
>
> warning C4511: copy constructor could not be generated
> warning C4512: assignment operator could not be generated
>
> Any ideas why I'm getting this in Qt 4.3.0 and not in Qt 3.3.8?
>
> Sam Dutton
>
>
>
> SAM DUTTON
> SENIOR SITE DEVELOPER
>
> 200 GRAY'S INN ROAD
> LONDON
> WC1X 8XZ
> UNITED KINGDOM
> T +44 (0)20 7430 4496
> F
> E SAM.DUTTON@xxxxxxxxx
> WWW.ITN.CO.UK <http://WWW.ITN.CO.UK>
Message 3 in thread
Re: Qt 4.3.0 with Visual Studio 2002: copy constructor and assignment
operator warnings
>"Keith Esau" <keith.esau@xxxxxxx> wrote in message
>news:C2944385.A39C%keith.esau@xxxxxxxxxx
>The first thing I would do is upgrade to at least VS 2003. VS 2002 has many
>bugs and even MS recommends not using it.
Same thing with VS2003. Qt should probably declare them private and not
implement
them. Boost has similar warnings. I would just tell the IDE to ignore
these.
--
[ signature omitted ]