[Bug c++/58316] error: call of overloaded ‘foo(long long unsigned int, long long unsigned int)’ is ambiguous

2013-09-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58316 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/58316] error: call of overloaded ‘foo(long long unsigned int, long long unsigned int)’ is ambiguous

2013-09-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58316 --- Comment #1 from Jonathan Wakely --- Integer conversions are not ranked by size. The call is ambiguous, G++ is correct. Intel and clang agree.