Daniel Boelzle wrote:
Stephan Bergmann wrote:

Since member template functions are supported by all target compilers
now, this can hopefully be solved by shifting all binary operators with
left side Any to class Any?


Might help in specific cases, but won't solve the general problem. Also, those changes would be incompatible, strictly speaking.


Strictly speaking yes, but I doubt that any SDK programmer has ever
referenced those operator functions directly, e.g. obtaining a pointer.
 So I expect this to be "almost" build-compatible :)
AFAIK we don't define any more (free) templated operator functions, so
this would be a solution for this problem.
Anyhow, IMO we have to support gcc 4, and if they don't move...

I think Heiner already accepted in the patches Caolan submitted to work around any GCC 4 problems he encountered. My original posting here was thus not intended as a call for action, but rather to spread information about the problem.


-Stephan

--Daniel

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to