Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
4.5.2, 4.8.4, 5.1.0
-
Visual Studio 2005, Visual Studio 2008, Visual Studio 2010
-
732c99487682f0be0b201deb1adf697f6d323b00
Description
When switching on Warning level 4 (-W4) we encounter warnings produced by the qt-library
- warning C4512: 'QtConcurrent::BlockSizeManager' : assignment operator could not be generated
- warning C4512: 'QForeachContainer<T>' : assignment operator could not be generated
They all reference the C4512 - which can be removed -> provide an assignement operator or remove the const for the member:
-> BlockSizeManager: const int maxBlockSize;
-> QForeachContainer: const T c;
Our goal is to compile our software warning free at level 4.
Of course we could patch this, but this means patch and compile for a lot of colleagues and every coming version.
The onyl alternative we see it to have this warning globally disabled.