[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-bugs
Subject:    c++ patch
From:       haberg () math ! su ! se (Hans Aberg)
Date:       2006-11-12 13:09:53
Message-ID: 74735FD0-A299-47EC-877F-E05D499D3679 () math ! su ! se
[Download RAW message or body]

On 12 Nov 2006, at 09:40, Gabriel Dos Reis wrote:

> | And I think that GNU favors giving C++ headers the filename  
> extension
> | ".hh".
>
> That is a "rule" I'm not aware of.  For sure, in the libstdc++ (the  
> GNU
> implementation of the ISO C++ standard library), we don't use ".hh".

The C/C++ standard header names are defined by the standards, and  
cannot be changed because of that (and need not even be implemented  
as files). For else, I don't know whether this is a GNU rule, but  
Bison uses it. For awhile, I experimented with none, as in the C++  
standard libraries, but the practical problems is to get file types  
recognized by various programs. And ".h" is a C header file, the  
latter which is a  language different from C++. So, using ".hh" might  
be a good idea after all - I am switching to it myself now.

   Hans Aberg



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic