'operator' : no acceptable conversions from 'type1' to 'type2'
No conversion is defined from type1 to type2. If you encounter this error while porting code from Visual C++ 2.0 or earlier, see Technote: Improved Conformance to ANSI C++.
Possible solutions
Example
class C { public: C(); // no constructor with an int argument } c; class D { public: D( int ); D(); } d; void main() { c = 10; // error d = 10; // OK }