[Bug c++/13358] long long and C++ do not mix well

2009-04-20 Thread manu at gcc dot gnu dot org
--- Comment #22 from manu at gcc dot gnu dot org 2009-04-20 22:13 --- Subject: Bug 13358 Author: manu Date: Mon Apr 20 22:12:52 2009 New Revision: 146459 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146459 Log: 2009-04-21 Manuel Lopez-Ibanez m...@gcc.gnu.org PR

[Bug c++/13358] long long and C++ do not mix well

2009-04-20 Thread manu at gcc dot gnu dot org
--- Comment #23 from manu at gcc dot gnu dot org 2009-04-20 22:18 --- FIXED in GCC 4.5. +Warn if @samp{long long} type is used. This is enabled by either +...@option{-pedantic} or @option{-Wtraditional} in ISO C90 and C++98 +modes. To inhibit the warning messages, use

[Bug c++/13358] long long and C++ do not mix well

2009-02-07 Thread manu at gcc dot gnu dot org
--- Comment #21 from manu at gcc dot gnu dot org 2009-02-07 20:23 --- There is a patch here: http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00970.html -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/13358] long long and C++ do not mix well

2008-08-23 Thread manu at gcc dot gnu dot org
--- Comment #18 from manu at gcc dot gnu dot org 2008-08-23 11:31 --- I cannot reproduce the warning in C or C++. It seems this got fixed silently. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13358

[Bug c++/13358] long long and C++ do not mix well

2008-08-23 Thread manu at gcc dot gnu dot org
--- Comment #19 from manu at gcc dot gnu dot org 2008-08-23 12:26 --- OK, sorry, I needed -m32 in the command line to reproduce it. Is there a consensus here? It seems too pedantic to warn for something that GCC can handle perfectly well. --

[Bug c++/13358] long long and C++ do not mix well

2008-08-23 Thread manu at gcc dot gnu dot org
--- Comment #20 from manu at gcc dot gnu dot org 2008-08-23 12:37 --- *** Bug 33736 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13358

[Bug c++/13358] long long and C++ do not mix well

2007-08-27 Thread lloyd at randombit dot net
--- Comment #17 from lloyd at randombit dot net 2007-08-27 13:14 --- This should probably be reexamined with regards to C++0x, since it includes 'long long' and my reading of the working group draft is that a constant too large to fit into a long should be considered a long long or