Hi,<div><br></div><div>it compiles fine with gcc 4.3.x, 4.4.x and 4.5.x (assuming minor version behave the same).</div><div><br></div><div>This seems to be a bug in 4.2 because this line is not calling OptionInfo(const gmx::OptionInfo&amp;) but  OptionInfo(const AbstractOptionStorage &amp;option). And the later is not private so it is OK.</div>

<div><br></div><div>4.2 is not maintained anymore. Do we want to support 4.2 nonetheless? </div><div><br></div><div>Roland<br><br><div class="gmail_quote">On Sun, Feb 6, 2011 at 2:31 PM, David van der Spoel <span dir="ltr">&lt;<a href="mailto:spoel@xray.bmc.uu.se" target="_blank">spoel@xray.bmc.uu.se</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 2011-02-06 20.28, Roland Schulz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
for me it compiles. What Compiler (+Version)?<br>
</blockquote>
<br></div>
[artemisia:~] % gcc --version<br>
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<br>
Roland<br>
<br>
On Sun, Feb 6, 2011 at 1:39 PM, David van der Spoel<br></div><div>
&lt;<a href="mailto:spoel@xray.bmc.uu.se" target="_blank">spoel@xray.bmc.uu.se</a> &lt;mailto:<a href="mailto:spoel@xray.bmc.uu.se" target="_blank">spoel@xray.bmc.uu.se</a>&gt;&gt; wrote:<br>
<br>
    [  8%] Building CXX object<br>
    src/gromacs/CMakeFiles/libgromacs.dir/options/optionsvisitor.cpp.o<br>
    /Users/spoel/GG/test/gromacs/src/gromacs/options/optionsvisitor.h:<br>
    In member function &#39;void<br>
    gmx::OptionsIterator::acceptOptions(gmx::OptionsVisitor*) const&#39;:<br>
    /Users/spoel/GG/test/gromacs/src/gromacs/options/optionsvisitor.h:93: error:<br>
    &#39;gmx::OptionInfo::OptionInfo(const gmx::OptionInfo&amp;)&#39; is private<br>
    /Users/spoel/GG/test/gromacs/src/gromacs/options/optionsvisitor.cpp:139:<br>
    error: within this context<br>
<br>
    Any clue?<br>
    --<br>
    David van der Spoel, Ph.D., Professor of Biology<br>
    Dept. of Cell &amp; Molec. Biol., Uppsala University.<br>
    Box 596, 75124 Uppsala, Sweden. Phone:  +46184714205.<br></div>
    <a href="mailto:spoel@xray.bmc.uu.se" target="_blank">spoel@xray.bmc.uu.se</a> &lt;mailto:<a href="mailto:spoel@xray.bmc.uu.se" target="_blank">spoel@xray.bmc.uu.se</a>&gt;<div><br>
    <a href="http://folding.bmc.uu.se" target="_blank">http://folding.bmc.uu.se</a><br>
    --<br>
    gmx-developers mailing list<br></div>
    <a href="mailto:gmx-developers@gromacs.org" target="_blank">gmx-developers@gromacs.org</a> &lt;mailto:<a href="mailto:gmx-developers@gromacs.org" target="_blank">gmx-developers@gromacs.org</a>&gt;<div><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 www<br>
    interface or send it to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a><br></div>
    &lt;mailto:<a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>&gt;.<br>
<br>
<br>
<br>
<br>
<br>
--<br>
ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a> &lt;<a href="http://cmb.ornl.gov" target="_blank">http://cmb.ornl.gov</a>&gt;<div><br>
865-241-1537, ORNL PO BOX 2008 MS6309<br>
<br>
</div></blockquote>
<br><div><div></div><div>
<br>
-- <br>
David van der Spoel, Ph.D., Professor of Biology<br>
Dept. of Cell &amp; Molec. Biol., Uppsala University.<br>
Box 596, 75124 Uppsala, Sweden. Phone:  +46184714205.<br>
<a href="mailto:spoel@xray.bmc.uu.se" target="_blank">spoel@xray.bmc.uu.se</a>    <a href="http://folding.bmc.uu.se" target="_blank">http://folding.bmc.uu.se</a><br>
-- <br>
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/mailman/listinfo/gmx-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@gromacs.org</a>.<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309<br>
</div>