lkml.org 
[lkml]   [1999]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectbug in socket.h (and maybe many other kernel headerfiles)
Date
Hello,

I am not on this list by 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

The right ANSI way to do it is to return a literal "0".

By taking a quick glance on the other headerfiles there are many places that
uses NULL without explicit conversion.

Maybe (adhearing to ANSI???) NULL has to be defined "0" and not (void*) ...

Yours
Uwe Koloska

--
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.087 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site