I&#39;m happy with .hpp. Some clarity about code that is supposed to be &quot;C++&quot; and that which is still &quot;C perhaps being called by some C++ interface&quot; is a good thing. Some of that clarity will come from the location in the source tree, of course.<div>
<br></div><div>Happy to keep gmx_bool. I can&#39;t think of a real advantage with switching to bool, even after the transition. Keeping gmx_bool as a typedef gives us some leverage if we ever need it to be something else.</div>
<div><br></div><div>Mark<br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 8:56 AM, Magnus Lundborg <span dir="ltr">&lt;<a href="mailto:magnus.lundborg@scilifelab.se" target="_blank">magnus.lundborg@scilifelab.se</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I agree that it&#39;s good to be able to tell the headers apart, so I vote for .hpp. I actually think .hpp would be a good choice even if we had only c++ code.<br>
<br>
I don&#39;t see any problem with gmx_bool. If we manage to switch to pure c++ later on we can always change to bool then (with some extra work).<span class="HOEnZb"><font color="#888888"><br>
<br>
/Magnus</font></span><div class="im HOEnZb"><br>
<br>
On 03/15/2013 08:49 AM, David van der Spoel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have two simple questions that have been brought up before but would be good to settle.<br>
<br>
First is about header file name. Since we will for the foreseeable future at least have both C and C++ code it would be good in my opinion to have a clear distinction in file names. The C++ files have extension .cpp throughout, but the header files are .h. I would like to propose to mv those to .hpp.<br>

<br>
Second is the use of bool versus gmx_bool. I was convinced at first that bool was the way to go, but of course this is not portable to C code, so it is probably better to stick with gmx_bool.<br>
<br>
Comments, opinions?<br>
</blockquote>
<br>
-- <br></div><div class="HOEnZb"><div class="h5">
gmx-developers mailing list<br>
<a href="mailto:gmx-developers@gromacs.org" target="_blank">gmx-developers@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/<u></u>mailman/listinfo/gmx-<u></u>developers</a><br>
Please don&#39;t post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@<u></u>gromacs.org</a>.<br>
</div></div></blockquote></div><br></div>