Re: [PATCH] C++ breaks on linux/ioport.h

From: Dominik Kubla (dominik.kubla@uni-mainz.de)
Date: Fri Apr 28 2000 - 05:54:07 EST


On Fri, Apr 28, 2000 at 11:49:18AM +0200, Jes Sorensen wrote:

> The kernel is written in GNU C (ie. C with gcc extensions) and using
> keywords such as 'new' is _perfectly_ valid. The fact that the C++
> people introduced extra keywords is really irrelevant for the kernel
> development.

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. What does the
ISO-C++ standard say about this?

Dominik

-- 
  Networking Group,  Hospital of Johannes Gutenberg-University                  
  Obere Zahlbacher Straße 69, 55101 Mainz, Germany                              
  Tel: +49 (0)6131 17-2482   FAX: +49 (0)6131 17-5521                           

- 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:14 EST