public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19542] New: attribute(sentinel) has problems with C++ __null
@ 2005-01-20  9:52 marcus at jet dot franken dot de
  2005-01-20  9:53 ` [Bug c++/19542] " marcus at jet dot franken dot de
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: marcus at jet dot franken dot de @ 2005-01-20  9:52 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

when using __attribute__((__sentinel__)) with the C++ NULL defined 
as __null, a sentinel warning is still triggered. 
 
Attached testcase gives: 
 
g++ -c xx.cc -Wall 
xx.cc: In function ‘void g()’: 
xx.cc:5: warning: missing sentinel in function call

-- 
           Summary: attribute(sentinel) has problems with C++ __null
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marcus at jet dot franken dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-05-02  4:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-20  9:52 [Bug c++/19542] New: attribute(sentinel) has problems with C++ __null marcus at jet dot franken dot de
2005-01-20  9:53 ` [Bug c++/19542] " marcus at jet dot franken dot de
2005-01-20 13:11 ` giovannibajo at libero dot it
2005-01-20 13:44 ` marcus at jet dot franken dot de
2005-01-20 15:00 ` pinskia at gcc dot gnu dot org
2005-01-20 15:05 ` marcus at jet dot franken dot de
2005-01-20 15:35 ` matz at suse dot de
2005-05-01  1:13 ` cvs-commit at gcc dot gnu dot org
2005-05-01  3:39 ` pinskia at gcc dot gnu dot org
2005-05-01  3:39 ` pinskia at gcc dot gnu dot org
2005-05-02  4:23 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).