[Bug c++/50976] [C++0x] literal operator with unsigned long long parameter not accepted

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 3 13:59:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50976

--- Comment #10 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2011-11-03 13:58:53 UTC ---
(In reply to comment #8)
I just send a corresponding email to the support address of this page. In
addition I removed my previous gcc installation completely and installed it
freshly, but no difference.

(In reply to comment #9)
> This may well happen if perhaps 'unsigned long long int' doesn't map to
> long_long_unsigned_type_node for this target.
> 
> Daniel, just for fun, and as a possible work around for you, what happens if
> you use 'unsigned long int' or 'unsigned int'?

I had the same idea and tested all these combinations including all signed
int/long/long long variants. I also validated that std::uintmax_t equals
unsigned long long. No difference: All forms are rejected in the same way. I
also tested all supported literal operator signatures. All of them work as
expected, except this one :-(.



More information about the Gcc-bugs mailing list