Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Custom String assignment issue

Hi there
I wonder if anyone could help me with the following: I've been given a custom-made string class which handles string, wstring and bstr. It has a number of methods and assignment operators to convert to and from different types.

The app I work on compiles happily in VS6 and VS2008, but when trying to compile in Redhat (version 4.1.1 in Redhat 5.0), for example for the following code:
[color=Blue]WUString yyy = "abc";
string xxx1;
xxx1 = yyy; // THIS LINE GIVES AN ERROR
string zzz1 = yyy; // THIS LINE WORKS FINE [/color]

The error I get on the 3rd line is:

[color=Red]../../src/CmdF2Zoom.cpp:104: error: ambiguous overload for
Sign In or Register to comment.