[ADOL-C] Problem adolc-2.4.1 with --enable-debug

Brad Bell bradbell at seanet.com
Wed Feb 26 08:39:34 EST 2014


There appears to be a problem building the debug version of ADOL-C-2.4.1.
Below is a bash script that I think will reproduce the problem.

#! /bin/bash -e
version="ADOL-C-2.4.1"
web_page="http://www.coin-or.org/download/source/ADOL-C"
# --------------------------------------------------------------------
cat << EOF

Running this script using g++ 4.8.2 and g++ 4.7.3 generates the error 
message:
         ../../../../ADOL-C/include/adolc/adolc_settings.h:28:1:
         error: expected identifier or '(' before '/'
         token // #define ATRIG_ERF 1

EOF
# --------------------------------------------------------------------
if [ -e temp_adolc_debug ]
then
         rm -r temp_adolc_debug
fi
mkdir temp_adolc_debug
cd    temp_adolc_debug
# --------------------------------------------------------------------
wget $web_page/$version.tgz
tar -xzf $version.tgz
cd  $version
autoreconf -f -i
mkdir build
cd build
../configure --enable-debug
make



More information about the ADOL-C mailing list