lkml.org 
[lkml]   [1999]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux headers and C++
Date

-----Original Message-----
From: Ronnie G Misra <rgmisra@MIT.EDU>
>
>The error I get has to do with include/linux/signal.h under the kernel
>source tree: the functions siginitset and siginitsetinv both contain
>switch statements which are invalid C++ syntax (and in fact, are
>invalid in C, but which make use of a gcc extension). Specifically,
>the last label ("case 1:") in these statements should be followed by a
>semicolon.


Just use this:

#include <signal.h>

instead. <linux/signal.h> is a minefield of gotchas. For internal use only.

Re: AB's response
This is not a linkage problem.

Cheers,
Tom



-
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:52    [W:0.061 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site