C++ Syntax error in linux/include/personality.h

David Fox (fox@graphics.cs.nyu.edu)
Fri, 20 Sep 1996 10:53:35 -0400


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