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/10170] No warning for "if(foo)" instead of "if(foo())"


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From gdr at integrable-solutions dot net  2003-07-19 17:08 -------
Subject: Re:  No warning for "if(foo)" instead of "if(foo())"

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

| Each symbol carries around it's weak status in the compiler, so the warning 
| should only trigger if !weak?

Yeah, that should work, I think.

-- Gaby


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