<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">IIRC GCC 4.7 is the first to have any decent support
for C++11. <br>
<br>
</font>
<div class="moz-cite-prefix">On 19/12/2014 4:02 a.m., Kshitij
Kulshreshtha wrote:<br>
</div>
<blockquote cite="mid:5492EC70.8010200@math.upb.de" type="cite">
<pre wrap="">ADOL-C 2.5.2 requires that C++11 standard is implemented correctly in
the compiler. I don't know if that is the case with g++ 4.4.7.
As a heads up, future versions will also use C++11 features that did not
exist before.
Regards
Kshitij
On 2014-12-18 15:53, Brad Bell wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I am experiencing some difficulty testing adolc on the coin jenkins test
system,which uses g++ 4.4.7.
(This problem does not seem to exist on my Fedora system running with
g++ 4.8.3.)
When I use ADOL-C-2.5.2, I get the error
../../../ADOL-C/include/adolc/adouble.h:74: error:
'badouble::badouble()' is protected
See the end of the page
<a class="moz-txt-link-freetext" href="http://jenkins.coin-or.org:8080/job/cppad_trunk/447/console">http://jenkins.coin-or.org:8080/job/cppad_trunk/447/console</a>
for the complete error message.
When I use ADOL-C-2.4.1, the error goes away; see
<a class="moz-txt-link-freetext" href="https://projects.coin-or.org/CppAD/changeset/3484">https://projects.coin-or.org/CppAD/changeset/3484</a>
<a class="moz-txt-link-freetext" href="http://jenkins.coin-or.org:8080/job/cppad_trunk/448/changes">http://jenkins.coin-or.org:8080/job/cppad_trunk/448/changes</a>
<a class="moz-txt-link-freetext" href="http://jenkins.coin-or.org:8080/job/cppad_trunk/448/console">http://jenkins.coin-or.org:8080/job/cppad_trunk/448/console</a>
A more extensive listing of the error message is:
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:64,
from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/char_traits.h:41,
from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ios:41,
from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ostream:40,
from
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/iostream:40,
from ../../../ADOL-C/include/adolc/adouble.h:30,
from ../../../ADOL-C/src/adouble.cpp:24:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/type_traits.h:
In instantiation of '__gnu_cxx::__promote_2<adouble, badouble>':
../../../ADOL-C/src/adouble.cpp:1741: instantiated from here
../../../ADOL-C/include/adolc/adouble.h:74: error:
'badouble::badouble()' is protected
... snip ...
_______________________________________________
ADOL-C mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ADOL-C@list.coin-or.org">ADOL-C@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/adol-c">http://list.coin-or.org/mailman/listinfo/adol-c</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>