This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24745] unpleasant warning for "if (NULL)"
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Nov 2005 23:24:04 -0000
- Subject: [Bug c++/24745] unpleasant warning for "if (NULL)"
- References: <bug-24745-11211@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-08 23:24 -------
Hmm, all of these warnings were present before 4.0.0.
The only warning that is a regression is the second:
"argument to non-pointer type `bool' from NULL" warning which did not warn in
3.3.3 and before but does in 3.4.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24745