[Bug c++/40099] 64bit constants

2009-05-11 Thread Andrey dot Martchovsky at gmail dot com
--- Comment #5 from Andrey dot Martchovsky at gmail dot com 2009-05-11 19:04 --- (In reply to comment #4) > For C++98 and C90, integer constants can only fit into the long type. You need > to use LL if you want a 64bit integer constant. > Thank you for clarifying this. -- http://

[Bug c++/40099] 64bit constants

2009-05-11 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-05-11 18:27 --- For C++98 and C90, integer constants can only fit into the long type. You need to use LL if you want a 64bit integer constant. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/40099] 64bit constants

2009-05-11 Thread Andrey dot Martchovsky at gmail dot com
--- Comment #3 from Andrey dot Martchovsky at gmail dot com 2009-05-11 18:22 --- (In reply to comment #2) > Why is that a problem? C and C++ are different languages. Compiling with g++ > means you are compiling the C code as C++ (see documentation). > My problem is that the error for

[Bug c++/40099] 64bit constants

2009-05-10 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-05-11 06:08 --- Why is that a problem? C and C++ are different languages. Compiling with g++ means you are compiling the C code as C++ (see documentation). -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug c++/40099] 64bit constants

2009-05-10 Thread Andrey dot Martchovsky at gmail dot com
--- Comment #1 from Andrey dot Martchovsky at gmail dot com 2009-05-11 02:07 --- *** Bug 40098 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40099