* Dominik Kubla (dominik.kubla@uni-mainz.de) [20000428 12:57]:
> And i think that stumbling over C++ reserverd words in a block explictily
> declared 'extern "C" {...}' as i suggested is a bug in either the standard
> or the implementation of said standard in the compiler
It's neither, but rather a case of you misunderstanding the standard :)
'extern "C"' was never meant to imply 'compile this with C rules'. It *only*
changes linkage, i.e. name mangling doesn't apply. The code itself *has* to
be ISO C++ conforming.
So the compiler is conforming in rejecting the use of C++ reserved keywords.
Philipp
-- Philipp Thomas <pthomas@suse.de> Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany#define NINODE 50 /* number of in core inodes */ #define NPROC 30 /* max number of processes */ -- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h
- 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/
This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:18 EST