lkml.org 
[lkml]   [1999]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectMaking kernel headers compile with C++ & libc5
Someone posted last week that linux/socket.h fails to compile under
c++, because of the use of implicit casts in inline functions that
return NULL. This is a problem because it means that people using
libc5 (which uses the kernel headers) can't compile some c++
programs.

Further to the patch to include/linux/socket.h I've just posted, I've
just done a quick search through the kernel header files. The same
simple problem may affect at least the following headers:

ghash.h
pci.h
proc_fs.h
skbuff.h
sunrpc/stats.h

Are these headers included when compiling libc5 programs with c++? If
so, I'll make a simple patch to try to fix the problem.

Sean


-
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    [from the cache]
©2003-2011 Jasper Spaans