lkml.org 
[lkml]   [2000]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Need info on the use of certain datastructures and the first C++ keyword patch for 2.2.17
Date
From
> js_dev::new.  My questions are basically this.  If I update these data
> structure members' names along with the references to them in various C
> files in the kernel will all be happy in Linuxland. Can any external

That may well be a problem. Also the use of private.

> utilities be broken or anything like that. Or more precisely are there any
> known external utilities that would be broken by this change? Thanks to all
> those whom can give me a hand in this.

You may find that creating your own wrappers for these files that do

extern "C" {
#define new new_
#define private private_
#include <linux/foo.h>
#undef new
#undef private
}

safer, since you won't break anything

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

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.037 / U:0.340 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site