[gmx-developers] master branch does not compile

Roland Schulz roland at utk.edu
Sun Feb 6 21:50:41 CET 2011


Hi,

it compiles fine with gcc 4.3.x, 4.4.x and 4.5.x (assuming minor version
behave the same).

This seems to be a bug in 4.2 because this line is not
calling OptionInfo(const gmx::OptionInfo&) but  OptionInfo(const
AbstractOptionStorage &option). And the later is not private so it is OK.

4.2 is not maintained anymore. Do we want to support 4.2 nonetheless?

Roland

On Sun, Feb 6, 2011 at 2:31 PM, David van der Spoel <spoel at xray.bmc.uu.se>wrote:

> On 2011-02-06 20.28, Roland Schulz wrote:
>
>> Hi,
>>
>> for me it compiles. What Compiler (+Version)?
>>
>
> [artemisia:~] % gcc --version
> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
>
>
>
>> Roland
>>
>> On Sun, Feb 6, 2011 at 1:39 PM, David van der Spoel
>> <spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>> wrote:
>>
>>    [  8%] Building CXX object
>>    src/gromacs/CMakeFiles/libgromacs.dir/options/optionsvisitor.cpp.o
>>    /Users/spoel/GG/test/gromacs/src/gromacs/options/optionsvisitor.h:
>>    In member function 'void
>>    gmx::OptionsIterator::acceptOptions(gmx::OptionsVisitor*) const':
>>    /Users/spoel/GG/test/gromacs/src/gromacs/options/optionsvisitor.h:93:
>> error:
>>    'gmx::OptionInfo::OptionInfo(const gmx::OptionInfo&)' is private
>>
>>  /Users/spoel/GG/test/gromacs/src/gromacs/options/optionsvisitor.cpp:139:
>>    error: within this context
>>
>>    Any clue?
>>    --
>>    David van der Spoel, Ph.D., Professor of Biology
>>    Dept. of Cell & Molec. Biol., Uppsala University.
>>    Box 596, 75124 Uppsala, Sweden. Phone:  +46184714205.
>>    spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>
>>
>>    http://folding.bmc.uu.se
>>    --
>>    gmx-developers mailing list
>>    gmx-developers at gromacs.org <mailto:gmx-developers at gromacs.org>
>>
>>    http://lists.gromacs.org/mailman/listinfo/gmx-developers
>>    Please don't post (un)subscribe requests to the list. Use the www
>>    interface or send it to gmx-developers-request at gromacs.org
>>    <mailto:gmx-developers-request at gromacs.org>.
>>
>>
>>
>>
>>
>> --
>> ORNL/UT Center for Molecular Biophysics cmb.ornl.gov <http://cmb.ornl.gov
>> >
>>
>> 865-241-1537, ORNL PO BOX 2008 MS6309
>>
>>
>
> --
> David van der Spoel, Ph.D., Professor of Biology
> Dept. of Cell & Molec. Biol., Uppsala University.
> Box 596, 75124 Uppsala, Sweden. Phone:  +46184714205.
> spoel at xray.bmc.uu.se    http://folding.bmc.uu.se
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the www interface
> or send it to gmx-developers-request at gromacs.org.
>
>
>


-- 
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20110206/7a8a60af/attachment.html>


More information about the gromacs.org_gmx-developers mailing list