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

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 8 14:41:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-08 14:40 -------
Actually the warning is correct __null is the size of an int and the size of the pointer, use a cast, now in 
C NULL is usually defined as (void*)0 which usually has the cast but you should always cast it anyways.  
Note this is mainly for 64bit targets.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list