[LLVMbugs] [Bug 11002] warning: missing sentinel in function call [-Wsentinel] when building r140404

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 27 16:11:04 PDT 2011


Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #18 from Eli Friedman <sharparrow1 at yahoo.com> 2011-09-27 18:11:03 CDT ---
OK, got it.  It seems like whatever platform you are using redefines NULL
(which is a bit unusual, but not exactly wrong).  Looks like there are a few
issues here: one, the test is buggy, two, we're somehow losing the source
location, and three, we should probably be warning for this construct on every

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list