Messages in this thread | | | Subject | Re: linux headers and C++ | Date | Thu, 01 Jul 1999 17:50:13 EDT | From | Ronnie G Misra <> |
| |
barbacha@hinako.ambusiness.com wrote: >Trying surrounding the includes for the C based header files with > >extern "C" >{ >... > C header files >... >}
The include lines were already surrounded by 'extern "C" { }'. The following code is also invalid syntax for g++:
extern "C" { main() { switch(1) { case 1: } } }
Ronnie Misra rgmisra@mit.edu 3 Ames Street, Box 152 Cambridge, MA 02142 (617) 225-6365
- 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/
| |