Re: [GnomeMeeting-list] 64bit patch



On 9 Oct 2002, Miguel Rodríguez wrote:

> Ummm. It's true that NULL is c++ is defined as 0 (Stroustrup in his book
> even mentions that NULL shouldn't be used, and that you should use just
> 0).
> But, doesn't gcc just automatically promote that 0 to 64 bits, as it's
> really a pointer?

Not when passing it trough a varargs ellipsis. How would it know the 0 was 
a pointer?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an obese zombie librarian who hides his scarred face behind a mask. She's 
a cynical hip-hop schoolgirl with a knack for trouble. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]