lkml.org 
[lkml]   [1996]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectC++ Syntax error in linux/include/personality.h
The personality.h header file contains the line

typedef asmlinkage void (*lcall7_func)(struct pt_regs *);

But when compiling a C++ program, asmlinkage is set to 'extern "C"',
and the resulting 'typedef extern "C" ...' is a syntax error. I'm not
sure the linkage of a typedef is meaningful anyway.
--
David Fox http://found.cs.nyu.edu/fox xoF divaD
NYU Media Research Lab fox@cs.nyu.edu baL hcraeseR aideM UYN

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