[Bug c++/19542] New: attribute(sentinel) has problems with C++ __null
marcus at jet dot franken dot de
gcc-bugzilla@gcc.gnu.org
Thu Jan 20 09:52:00 GMT 2005
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
More information about the Gcc-bugs
mailing list