This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/30860] Should warn about boolean constant false used in pointer context



------- Comment #7 from gdr at cs dot tamu dot edu  2007-02-19 20:49 -------
Subject: Re:  Should warn about boolean constant false used in pointer context

"mueller at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| there is an implicit value conversion, boolean "false" to address "0". I
think
| that is the definition of -Wconversion, no?

Yes.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30860


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]