bool just has been renamed to gmx_bool. Changing that should fix your compiler errors.<br><br><div class="gmail_quote">On Wed, Aug 25, 2010 at 5:31 PM, Florian Dommert <span dir="ltr">&lt;<a href="mailto:dommert@icp.uni-stuttgart.de">dommert@icp.uni-stuttgart.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>A strange thing happend. When I include my code into the current release<br>
branch I get compiler errors, which weren&#39;t there before.<br>
<br>
gmx_pme_error.c:110: error: expected specifier-qualifier-list before ?bool?<br>
gmx_pme_error.c:121: error: expected ?=?, ?,?, ?;?, ?asm? or<br>
?__attribute__? before ?is_equal?<br>
gmx_pme_error.c:138: error: expected ?=?, ?,?, ?;?, ?asm? or<br>
?__attribute__? before ?is_charge?<br>
gmx_pme_error.c: In function ?calc_q2all?:<br>
gmx_pme_error.c:176: warning: implicit declaration of function ?is_charge?<br>
gmx_pme_error.c: In function ?bcast_info?:<br>
gmx_pme_error.c:905: error: ?t_inputinfo? has no member named ?bTUNE?<br>
gmx_pme_error.c:905: error: ?t_inputinfo? has no member named ?bTUNE?<br>
gmx_pme_error.c: In function ?estimate_PME_error?:<br>
gmx_pme_error.c:977: error: ?t_inputinfo? has no member named ?bTUNE?<br>
gmx_pme_error.c: In function ?gmx_pme_error?:<br>
gmx_pme_error.c:1078: error: ?bool? undeclared (first use in this function)<br>
gmx_pme_error.c:1078: error: (Each undeclared identifier is reported<br>
only once<br>
gmx_pme_error.c:1078: error: for each function it appears in.)<br>
gmx_pme_error.c:1078: error: expected ?;? before ?bTUNE?<br>
gmx_pme_error.c:1097: error: ?bTUNE? undeclared (first use in this function)<br>
gmx_pme_error.c:1157: error: ?t_inputinfo? has no member named ?bTUNE?<br>
<br>
I will take a look at this tomorrow and will try to solve the problems<br>
as soon as possible. (if the changes are trivial the patch is attached)<br>
<br>
As you are merging the whole time new fixes into the branch, what is the<br>
best way to handle this ?<br>
<br>
/Flo<br>
<div class="im"><br>
<br>
On 08/25/2010 11:02 PM, Rossen Apostolov wrote:<br>
&gt;  Hi Florian,<br>
&gt;&gt; I currently tried your suggestions, but it seems the changes are not<br>
&gt;&gt; incorporated in the patch. So I will pull a new git again. As I have<br>
&gt;&gt; just to lines to edit in the Makefile of src/tools and in<br>
&gt;&gt; src/gmxlib/copyrite.c it is no problem. If it is more easy for you I can<br>
&gt;&gt; also apply the patch to the release branch.<br>
&gt; That will be better but since the changes are small it&#39;s not a big problem.<br>
&gt;<br>
&gt; Do this then:<br>
&gt;<br>
&gt; 1)<br>
&gt;<br>
&gt; if you haven&#39;t checked out the release branch yet do:<br>
&gt;<br>
&gt; $ git checkout -t origin/release-4-5-patches<br>
&gt;<br>
&gt; if you have already done it:<br>
&gt;<br>
&gt; $ git checkout release-4-5-patches<br>
&gt; $ git pull<br>
&gt;<br>
&gt; 2)<br>
&gt;<br>
&gt; $ (edit src/tools/Makefile.am)<br>
&gt; $(edit src/gmxlib/copyrite.c)<br>
&gt; $ (copy g_pme_error.c to)  src/tools<br>
&gt; $ git add src/tools/g_pme_error.c<br>
&gt; $ git diff HEAD &gt; g_pme_error.patch<br>
&gt;<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Rossen<br>
<br>
<br>
</div><div class="im">- --<br>
Florian Dommert<br>
Dipl.-Phys.<br>
<br>
Institute for Computational Physics<br>
<br>
University Stuttgart<br>
<br>
Pfaffenwaldring 27<br>
70569 Stuttgart<br>
<br>
Phone: +49(0)711/685-6-3613<br>
Fax:   +49-(0)711/685-6-3658<br>
<br>
EMail: <a href="mailto:dommert@icp.uni-stuttgart.de">dommert@icp.uni-stuttgart.de</a><br>
Home: <a href="http://www.icp.uni-stuttgart.de/~icp/Florian_Dommert" target="_blank">http://www.icp.uni-stuttgart.de/~icp/Florian_Dommert</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
</div>iEYEARECAAYFAkx1i6oACgkQLpNNBb9GiPl7oACfeevCNduNw04jkwH1crILoyxj<br>
xJ4AoORl2HFn21Np4rJxRtAdSnmJLgfr<br>
=lopf<br>
-----END PGP SIGNATURE-----<br>
<br>--<br>
gmx-developers mailing list<br>
<a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br></blockquote></div><br><br clear="all"><br>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>

865-241-1537, ORNL PO BOX 2008 MS6309<br>