Messages in this thread | | | From | "Tom Leete" <> | Subject | Re: linux headers and C++ | Date | Thu, 1 Jul 1999 20:38:49 -0400 |
| |
-----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/
| |