| To: | "Benjamin C.R. LaHaise" <blah@xxxxxxxxx> |
|---|---|
| Subject: | Re: ANSI C++ problem in include/linux/socket.h |
| From: | dancer@xxxxxxxxxxxxxxxx |
| Date: | Wed, 10 Nov 1999 13:51:09 +0000 |
| Cc: | OKUJI Yoshinori <okuji@xxxxxxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxxxxxx |
| References: | <Pine.LNX.3.96.991110021557.21637C-100000@kanga.kvack.org> |
| Sender: | owner-netdev@xxxxxxxxxxx |
"Benjamin C.R. LaHaise" wrote: > On Mon, 8 Nov 1999, OKUJI Yoshinori wrote: > > > Hello, > > > > When compiling lftp with gcc-2.95.2 on linux-2.2.13, I got this > > error: > > Wrong fix. The include files in 2.2.12+ are careful to define NULL as 0 > when compiling C++ code, so something else you are #include'ing is > redefining NULL as ((void *)0) instead of the 0 it's supposed to be. > > -ben Run the compiler with -E and capture the output. You should be able to hunt down the rogue definition. D |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: ANSI C++ problem in include/linux/socket.h, OKUJI Yoshinori |
|---|---|
| Next by Date: | Re: [PATCH] Suppressing ICMP redirects for mangled packets?, kuznet |
| Previous by Thread: | Re: ANSI C++ problem in include/linux/socket.h, OKUJI Yoshinori |
| Next by Thread: | [PATCH] Suppressing ICMP redirects for mangled packets?, Paul Rusty Russell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |