Re: [PATCH] Trivial warning fix for imap-send.c
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Mar 13, 2006, 06:46 UTC
- Message-ID
- <Pine.LNX.4.64.0603122245360.3618@g5.osdl.org>
- In-Reply-To
- <44151330.7020905@zytor.com>
On Sun, 12 Mar 2006, H. Peter Anvin wrote:
> > On "real" machines, the biggest reason you'd care is that a lot of compilers, > *especially* in C++ mode, really still define NULL as "0"; ostensibly because > defining it as "((void *)0)" breaks some obscure C++ casting rule.
Agreed. gcc has fixed that rule, but others have not. Don't compile git as C++.
Linus