This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: generalized lvalues -- patch outline
On Mon, Nov 22, 2004 at 01:23:22PM -0800, Matt Austern wrote:
> Unfortunately, there is another reason for allowing some tamed version
> of assignment to casts: compatibility with other compilers. Microsoft
> and CodeWarrior both allow this in one form or another. (Microsoft for
> C only, CodeWarrior for C++ as well. CodeWarrior only allows some
> limited forms of assignments to casts, and doesn't treat a cast as a
> true lvalue, so they still get overload resolution right.)
Does CodeWarrior document the semantics of their extension?