Re: bug in socket.h (and maybe many other kernel headerfiles)

Dipl.-Ing. Uwe Koloska (koloska@Rcs1.urz.tu-dresden.de)
Fri, 17 Sep 1999 20:38:41 +0200


On Fre, 17 Sep 1999 wrote the famous Sean Hunter:
>On Fri, Sep 17, 1999 at 11:48:34AM +0200, Dipl.-Ing. Uwe Koloska wrote:
>> Hello,
>>
>> I am not on this list but post by told so in REPORTING-BUGS.
>>
>> By installing kde-1.1.2 with gcc-2.95.1 I noticed a wrong declaration in
>> /usr/incluce/linux/socket.h:109
>>
>> ANSI C++ forbids implicit conversion from `void *' in return
>>
>
>Why are you compiling kernel headers with a c++ compiler? The kernel
>headers don't work in c++.

But what about C++ programms that need kernel functions and therefore have to
include kernel headers???

Uwe

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/