[Bug c++/18886] misleading warning from attribute sentinel in C++

2004-12-08 Thread salinger at sun dot felk dot cvut dot cz
--- Additional Comments From salinger at sun dot felk dot cvut dot cz 2004-12-08 17:07 --- Thanks for explanation. The warning message was confusing for me. Could be possible to distinguish between NULL without pointer conversion and completely forgotten NULL ? With something like

[Bug c++/18886] attribute sentinel doesn't work with C++

2004-12-08 Thread salinger at sun dot felk dot cvut dot cz
--- Additional Comments From salinger at sun dot felk dot cvut dot cz 2004-12-08 13:22 --- > > NULL is expanded as __null in C++. > > This is inconsistent with sentinel testing. > Why do you think it is inconsistent? For me it is inconsistent at least conceptualy. In

[Bug c++/18886] New: attribute sentinel doesn't work with C++

2004-12-08 Thread salinger at sun dot felk dot cvut dot cz
MED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: salinger at sun dot felk dot cvut dot cz CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i486-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18886