This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19542] attribute(sentinel) has problems with C++ __null


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]