[Bug c++/41561] warning on a large hex literal in C++ 0x mode

2009-10-04 Thread msebor at gmail dot com
--- Comment #2 from msebor at gmail dot com 2009-10-04 16:08 --- I'm not positive which stage issues the warning but the preprocessor does not warn on large integer literals in preprocessor directives involving integer arithmetic (e.g., #if 0x123456789abcd > LONG_MAX). Strictly speaking

[Bug c++/41561] warning on a large hex literal in C++ 0x mode

2009-10-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-10-04 09:09 --- The warning is from the preprocessor - I'm not sure it is even wrong. You have to write 0x123456789abcdLL IIRC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41561