[Bug c++/19542] attribute(sentinel) has problems with C++ __null
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 20 15:00:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-20 15:00 -------
C++ is differrent from C.
NULL in C++ is defined special in that it is defined as an int but C is different. You should always use a
cast when you passing to a varargs otherwise you might get a problem on 64bit targets and otherwise.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19542
More information about the Gcc-bugs
mailing list