lkml.org 
[lkml]   [1998]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: why asmlinkage is needed?
On Sun, Aug 16, 1998 at 02:51:55PM +0200, Michael Elizabeth Chastain wrote:

>
> For instance, on linux 2.0.33, compile a C++ program that includes
> <linux/md.h>, which has user-space ioctl definitions. The compilation
> will blow up on a typedef for lcall7 in <linux/personality.h>.

Just add extern "C" { ... } around the includes then.

-Andi

-
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.altern.org/andrebalsa/doc/lkml-faq.html

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