[ADOL-C] Problem compiling with g++ 4.4.7 ?

Kshitij Kulshreshtha kshitij at math.upb.de
Thu Dec 18 10:02:08 EST 2014


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:
> 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
>     http://jenkins.coin-or.org:8080/job/cppad_trunk/447/console
> for the complete error message.
> 
> When I use ADOL-C-2.4.1, the error goes away; see
>     https://projects.coin-or.org/CppAD/changeset/3484
>     http://jenkins.coin-or.org:8080/job/cppad_trunk/448/changes
>     http://jenkins.coin-or.org:8080/job/cppad_trunk/448/console
> 
> 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
> ADOL-C at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/adol-c

-- 
Dr. Kshitij Kulshreshtha

Institut für Mathematik,
Universität Paderborn,
Warburger Straße 100,
33098 Paderborn.

Büro: A3.235

Privatanschrift:
Arnikaweg 62
33100 Paderborn.


More information about the ADOL-C mailing list