[Bug c++/5310] Weird warnings about using (int)NULL

2007-01-09 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2007-01-09 15:30 --- (convert_like_real gives me the creeps.) I must check whether this warning has been taken by the new Wconversion, which is not currently enabled by Wall. -- manu at gcc dot gnu dot org changed: What

[Bug c++/5310] Weird warnings about using (int)NULL

2007-05-22 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2007-05-23 01:49 --- (In reply to comment #3) >(3) since __null is of type int, the cast to int was a no-op, and >since the C++ front-end currently does not have a high level >representation of the program (e.g. lowerin

[Bug c++/5310] Weird warnings about using (int)NULL

2007-05-22 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2007-05-23 01:50 --- (In reply to comment #4) > (convert_like_real gives me the creeps.) > > I must check whether this warning has been taken by the new Wconversion, which > is not currently enabled by Wall. > By the way, this is not en

[Bug c++/5310] Weird warnings about using (int)NULL

2007-11-11 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2007-11-12 01:14 --- *** Bug 33160 has been marked as a duplicate of this bug. *** -- manu at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/5310] Weird warnings about using (int)NULL

2007-11-15 Thread patchapp at dberlin dot org
--- Comment #8 from patchapp at dberlin dot org 2007-11-15 20:05 --- Subject: Bug number PR c++/5310 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00865.html -- http://gcc.gnu.org/bugzill

[Bug c++/5310] Weird warnings about using (int)NULL

2007-11-23 Thread manu at gcc dot gnu dot org
--- Comment #10 from manu at gcc dot gnu dot org 2007-11-23 19:16 --- Fixed in GCC 4.3 -- manu at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/5310] Weird warnings about using (int)NULL

2007-11-23 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2007-11-23 19:15 --- Subject: Bug 5310 Author: manu Date: Fri Nov 23 19:15:09 2007 New Revision: 130381 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130381 Log: 2007-11-23 Mark Mitchell <[EMAIL PROTECTED]> Manuel Lo

[Bug c++/5310] Weird warnings about using (int)NULL

2005-11-30 Thread gdr at gcc dot gnu dot org
--- Comment #3 from gdr at gcc dot gnu dot org 2005-11-30 19:15 --- (In reply to comment #2) > On the mainline (20030526), I only get one warning: > > pr5310.cc: In function `void bar()': > pr5310.cc:9: warning: passing NULL used for non-pointer argument 1 of `void >foo(int)' > >