Changeset 1717


Ignore:
Timestamp:
Nov 28, 2010 12:19:17 AM (9 years ago)
Author:
bradbell
Message:

trunk: ndebug.cpp test compiles, but not use, ADFun<double> copy operation

configure: update package version, and autoconf version.
makefile.am: add ndebug.cpp to list of source files and compile with NDEBUG.
makefile.in: changes automatically transfered from makefile.am.
test_more.cpp: add ndebug to list of tests.
test_one.sh.in: treat ndebug.cpp as special case with NDEBUG defined.
test_more.vcproj: add ndebug to list of tests.
makefile.in: update corresponding makefile.am.
whats_new_10.omh: user's view of changes.
error_handler.hpp: exit even if NDEBUG is defined.

Location:
trunk
Files:
1 added
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r1704 r1717  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.65 for CppAD 20100821.
     3# Generated by GNU Autoconf 2.67 for CppAD 20101127.
    44#
    55# Report bugs to <cppad@list.coin-or.org>.
     
    77#
    88# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
    10 # Inc.
     9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10# Foundation, Inc.
    1111#
    1212#
     
    319319    done
    320320    test -z "$as_dirs" || eval "mkdir $as_dirs"
    321   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     321  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    322322
    323323
     
    359359
    360360
    361 # as_fn_error ERROR [LINENO LOG_FD]
    362 # ---------------------------------
     361# as_fn_error STATUS ERROR [LINENO LOG_FD]
     362# ----------------------------------------
    363363# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    364364# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    365 # script with status $?, using 1 if that was 0.
     365# script with STATUS, using 1 if that was 0.
    366366as_fn_error ()
    367367{
    368   as_status=$?; test $as_status -eq 0 && as_status=1
    369   if test "$3"; then
    370     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    371     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     368  as_status=$1; test $as_status -eq 0 && as_status=1
     369  if test "$4"; then
     370    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     371    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    372372  fi
    373   $as_echo "$as_me: error: $1" >&2
     373  $as_echo "$as_me: error: $2" >&2
    374374  as_fn_exit $as_status
    375375} # as_fn_error
     
    533533
    534534# Name of the host.
    535 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     535# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    536536# so uname gets run too.
    537537ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    552552PACKAGE_NAME='CppAD'
    553553PACKAGE_TARNAME='cppad'
    554 PACKAGE_VERSION='20100821'
    555 PACKAGE_STRING='CppAD 20100821'
     554PACKAGE_VERSION='20101127'
     555PACKAGE_STRING='CppAD 20101127'
    556556PACKAGE_BUGREPORT='cppad@list.coin-or.org'
    557557PACKAGE_URL=''
     
    780780
    781781  case $ac_option in
    782   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    783   *)    ac_optarg=yes ;;
     782  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     783  *=)   ac_optarg= ;;
     784  *)    ac_optarg=yes ;;
    784785  esac
    785786
     
    826827    # Reject names that are not valid shell variable names.
    827828    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    828       as_fn_error "invalid feature name: $ac_useropt"
     829      as_fn_error $? "invalid feature name: $ac_useropt"
    829830    ac_useropt_orig=$ac_useropt
    830831    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    852853    # Reject names that are not valid shell variable names.
    853854    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    854       as_fn_error "invalid feature name: $ac_useropt"
     855      as_fn_error $? "invalid feature name: $ac_useropt"
    855856    ac_useropt_orig=$ac_useropt
    856857    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10561057    # Reject names that are not valid shell variable names.
    10571058    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1058       as_fn_error "invalid package name: $ac_useropt"
     1059      as_fn_error $? "invalid package name: $ac_useropt"
    10591060    ac_useropt_orig=$ac_useropt
    10601061    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10721073    # Reject names that are not valid shell variable names.
    10731074    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1074       as_fn_error "invalid package name: $ac_useropt"
     1075      as_fn_error $? "invalid package name: $ac_useropt"
    10751076    ac_useropt_orig=$ac_useropt
    10761077    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11021103    x_libraries=$ac_optarg ;;
    11031104
    1104   -*) as_fn_error "unrecognized option: \`$ac_option'
    1105 Try \`$0 --help' for more information."
     1105  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1106Try \`$0 --help' for more information"
    11061107    ;;
    11071108
     
    11111112    case $ac_envvar in #(
    11121113      '' | [0-9]* | *[!_$as_cr_alnum]* )
    1113       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
     1114      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    11141115    esac
    11151116    eval $ac_envvar=\$ac_optarg
     
    11291130if test -n "$ac_prev"; then
    11301131  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1131   as_fn_error "missing argument to $ac_option"
     1132  as_fn_error $? "missing argument to $ac_option"
    11321133fi
    11331134
     
    11351136  case $enable_option_checking in
    11361137    no) ;;
    1137     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
     1138    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11381139    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11391140  esac
     
    11581159    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11591160  esac
    1160   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
     1161  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    11611162done
    11621163
     
    11721173  if test "x$build_alias" = x; then
    11731174    cross_compiling=maybe
    1174     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1175     If a cross compiler is detected then cross compile mode will be used." >&2
     1175    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
     1176    If a cross compiler is detected then cross compile mode will be used" >&2
    11761177  elif test "x$build_alias" != "x$host_alias"; then
    11771178    cross_compiling=yes
     
    11881189ac_ls_di=`ls -di .` &&
    11891190ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1190   as_fn_error "working directory cannot be determined"
     1191  as_fn_error $? "working directory cannot be determined"
    11911192test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1192   as_fn_error "pwd does not report name of working directory"
     1193  as_fn_error $? "pwd does not report name of working directory"
    11931194
    11941195
     
    12291230if test ! -r "$srcdir/$ac_unique_file"; then
    12301231  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1231   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
     1232  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12321233fi
    12331234ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12341235ac_abs_confdir=`(
    1235         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
     1236        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    12361237        pwd)`
    12371238# When building in place, set srcdir=.
     
    12591260  # This message is too long to be a string in the A/UX 3.1 sh.
    12601261  cat <<_ACEOF
    1261 \`configure' configures CppAD 20100821 to adapt to many kinds of systems.
     1262\`configure' configures CppAD 20101127 to adapt to many kinds of systems.
    12621263
    12631264Usage: $0 [OPTION]... [VAR=VALUE]...
     
    12731274      --help=recursive    display the short help of all the included packages
    12741275  -V, --version           display version information and exit
    1275   -q, --quiet, --silent   do not print \`checking...' messages
     1276  -q, --quiet, --silent   do not print \`checking ...' messages
    12761277      --cache-file=FILE   cache test results in FILE [disabled]
    12771278  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    13251326if test -n "$ac_init_help"; then
    13261327  case $ac_init_help in
    1327      short | recursive ) echo "Configuration of CppAD 20100821:";;
     1328     short | recursive ) echo "Configuration of CppAD 20101127:";;
    13281329   esac
    13291330  cat <<\_ACEOF
     
    14381439if $ac_init_version; then
    14391440  cat <<\_ACEOF
    1440 CppAD configure 20100821
    1441 generated by GNU Autoconf 2.65
    1442 
    1443 Copyright (C) 2009 Free Software Foundation, Inc.
     1441CppAD configure 20101127
     1442generated by GNU Autoconf 2.67
     1443
     1444Copyright (C) 2010 Free Software Foundation, Inc.
    14441445This configure script is free software; the Free Software Foundation
    14451446gives unlimited permission to copy, distribute and modify it.
     
    15441545  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    15451546$as_echo_n "checking for $2... " >&6; }
    1546 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1547if eval "test \"\${$3+set}\"" = set; then :
    15471548  $as_echo_n "(cached) " >&6
    15481549else
     
    16621663  fi
    16631664  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1664   test $ac_status = 0; } >/dev/null && {
     1665  test $ac_status = 0; } > conftest.i && {
    16651666         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    16661667         test ! -s conftest.err
     
    17651766running configure, to aid debugging if configure makes a mistake.
    17661767
    1767 It was created by CppAD $as_me 20100821, which was
    1768 generated by GNU Autoconf 2.65.  Invocation command line was
     1768It was created by CppAD $as_me 20101127, which was
     1769generated by GNU Autoconf 2.67.  Invocation command line was
    17691770
    17701771  $ $0 $@
     
    18761877    echo
    18771878
    1878     cat <<\_ASBOX
    1879 ## ---------------- ##
     1879    $as_echo "## ---------------- ##
    18801880## Cache variables. ##
    1881 ## ---------------- ##
    1882 _ASBOX
     1881## ---------------- ##"
    18831882    echo
    18841883    # The following way of writing the cache mishandles newlines in values,
     
    19141913    echo
    19151914
    1916     cat <<\_ASBOX
    1917 ## ----------------- ##
     1915    $as_echo "## ----------------- ##
    19181916## Output variables. ##
    1919 ## ----------------- ##
    1920 _ASBOX
     1917## ----------------- ##"
    19211918    echo
    19221919    for ac_var in $ac_subst_vars
     
    19311928
    19321929    if test -n "$ac_subst_files"; then
    1933       cat <<\_ASBOX
    1934 ## ------------------- ##
     1930      $as_echo "## ------------------- ##
    19351931## File substitutions. ##
    1936 ## ------------------- ##
    1937 _ASBOX
     1932## ------------------- ##"
    19381933      echo
    19391934      for ac_var in $ac_subst_files
     
    19491944
    19501945    if test -s confdefs.h; then
    1951       cat <<\_ASBOX
    1952 ## ----------- ##
     1946      $as_echo "## ----------- ##
    19531947## confdefs.h. ##
    1954 ## ----------- ##
    1955 _ASBOX
     1948## ----------- ##"
    19561949      echo
    19571950      cat confdefs.h
     
    20082001ac_site_file2=NONE
    20092002if test -n "$CONFIG_SITE"; then
    2010   ac_site_file1=$CONFIG_SITE
     2003  # We do not want a PATH search for config.site.
     2004  case $CONFIG_SITE in #((
     2005    -*)  ac_site_file1=./$CONFIG_SITE;;
     2006    */*) ac_site_file1=$CONFIG_SITE;;
     2007    *)   ac_site_file1=./$CONFIG_SITE;;
     2008  esac
    20112009elif test "x$prefix" != xNONE; then
    20122010  ac_site_file1=$prefix/share/config.site
     
    20232021$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    20242022    sed 's/^/| /' "$ac_site_file" >&5
    2025     . "$ac_site_file"
     2023    . "$ac_site_file" \
     2024      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2025$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2026as_fn_error $? "failed to load site script $ac_site_file
     2027See \`config.log' for more details" "$LINENO" 5 ; }
    20262028  fi
    20272029done
     
    20992101  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    21002102$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2101   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2103  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    21022104fi
    21032105## -------------------- ##
     
    21432145
    21442146if test "$CPP_ERROR_WARN" != "" ; then
    2145     as_fn_error "The CPP_ERROR_WARN configure option is now CXX_FLAGS" "$LINENO" 5
     2147    as_fn_error $? "The CPP_ERROR_WARN configure option is now CXX_FLAGS" "$LINENO" 5
    21462148fi
    21472149
     
    21552157
    21562158if test "$SpeedExample" = "yes" ; then
    2157     as_fn_error "--with-SpeedExample not necessary, see install instructions." "$LINENO" 5
     2159    as_fn_error $? "--with-SpeedExample not necessary, see install instructions." "$LINENO" 5
    21582160fi
    21592161
     
    21672169
    21682170if test "$profiling" = "yes" ; then
    2169     as_fn_error "--with-profiling not necessary, see install instructions." "$LINENO" 5
     2171    as_fn_error $? "--with-profiling not necessary, see install instructions." "$LINENO" 5
    21702172fi
    21712173
     
    21792181
    21802182if test "$Speed" = "yes" ; then
    2181     as_fn_error "--with-Speed not necessary, see install instructions." "$LINENO" 5
     2183    as_fn_error $? "--with-Speed not necessary, see install instructions." "$LINENO" 5
    21822184fi
    21832185
     
    21912193
    21922194if test "$Introduction" = "yes" ; then
    2193     as_fn_error "--with-Introduction not necessary, see install instructions." "$LINENO" 5
     2195    as_fn_error $? "--with-Introduction not necessary, see install instructions." "$LINENO" 5
    21942196fi
    21952197
     
    22032205
    22042206if test "$Example" = "yes" ; then
    2205     as_fn_error "--with-Example not necessary, see install instructions." "$LINENO" 5
     2207    as_fn_error $? "--with-Example not necessary, see install instructions." "$LINENO" 5
    22062208fi
    22072209
     
    22152217
    22162218if test "$TestMore" = "yes" ; then
    2217     as_fn_error "--with-TestMore not necessary, see install instructions." "$LINENO" 5
     2219    as_fn_error $? "--with-TestMore not necessary, see install instructions." "$LINENO" 5
    22182220fi
    22192221
     
    22272229
    22282230if test "$PrintFor" = "yes" ; then
    2229     as_fn_error "--with-PrintFor not necessary, see install instructions." "$LINENO" 5
     2231    as_fn_error $? "--with-PrintFor not necessary, see install instructions." "$LINENO" 5
    22302232fi
    22312233{ $as_echo "$as_me:${as_lineno-$LINENO}: ******  Check command line arguments that are used ***********" >&5
     
    27312733test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    27322734$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2733 as_fn_error "no acceptable C compiler found in \$PATH
    2734 See \`config.log' for more details." "$LINENO" 5; }
     2735as_fn_error $? "no acceptable C compiler found in \$PATH
     2736See \`config.log' for more details" "$LINENO" 5 ; }
    27352737
    27362738# Provide some information about the compiler.
     
    28462848{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    28472849$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2848 { as_fn_set_status 77
    2849 as_fn_error "C compiler cannot create executables
    2850 See \`config.log' for more details." "$LINENO" 5; }; }
     2850as_fn_error 77 "C compiler cannot create executables
     2851See \`config.log' for more details" "$LINENO" 5 ; }
    28512852else
    28522853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     
    28902891  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    28912892$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2892 as_fn_error "cannot compute suffix of executables: cannot compile and link
    2893 See \`config.log' for more details." "$LINENO" 5; }
     2893as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     2894See \`config.log' for more details" "$LINENO" 5 ; }
    28942895fi
    28952896rm -f conftest conftest$ac_cv_exeext
     
    29482949        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29492950$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2950 as_fn_error "cannot run C compiled programs.
     2951as_fn_error $? "cannot run C compiled programs.
    29512952If you meant to cross compile, use \`--host'.
    2952 See \`config.log' for more details." "$LINENO" 5; }
     2953See \`config.log' for more details" "$LINENO" 5 ; }
    29532954    fi
    29542955  fi
     
    30013002{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    30023003$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3003 as_fn_error "cannot compute suffix of object files: cannot compile
    3004 See \`config.log' for more details." "$LINENO" 5; }
     3004as_fn_error $? "cannot compute suffix of object files: cannot compile
     3005See \`config.log' for more details" "$LINENO" 5 ; }
    30053006fi
    30063007rm -f conftest.$ac_cv_objext conftest.$ac_ext
     
    32453246ac_aux_dir=
    32463247for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    3247   for ac_t in install-sh install.sh shtool; do
    3248     if test -f "$ac_dir/$ac_t"; then
    3249       ac_aux_dir=$ac_dir
    3250       ac_install_sh="$ac_aux_dir/$ac_t -c"
    3251       break 2
    3252     fi
    3253   done
     3248  if test -f "$ac_dir/install-sh"; then
     3249    ac_aux_dir=$ac_dir
     3250    ac_install_sh="$ac_aux_dir/install-sh -c"
     3251    break
     3252  elif test -f "$ac_dir/install.sh"; then
     3253    ac_aux_dir=$ac_dir
     3254    ac_install_sh="$ac_aux_dir/install.sh -c"
     3255    break
     3256  elif test -f "$ac_dir/shtool"; then
     3257    ac_aux_dir=$ac_dir
     3258    ac_install_sh="$ac_aux_dir/shtool install -c"
     3259    break
     3260  fi
    32543261done
    32553262if test -z "$ac_aux_dir"; then
    3256   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     3263  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    32573264fi
    32583265
     
    33703377case `pwd` in
    33713378  *[\\\"\#\$\&\'\`$am_lf]*)
    3372     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
     3379    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
    33733380esac
    33743381case $srcdir in
    33753382  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
    3376     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
     3383    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
    33773384esac
    33783385
     
    33963403      # broken ls alias from the environment.  This has actually
    33973404      # happened.  Such a system could not be considered "sane".
    3398       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
     3405      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
    33993406alias in your environment" "$LINENO" 5
    34003407   fi
     
    34063413   :
    34073414else
    3408    as_fn_error "newly created file is older than distributed files!
     3415   as_fn_error $? "newly created file is older than distributed files!
    34093416Check your system clock" "$LINENO" 5
    34103417fi
     
    36443651set x ${MAKE-make}
    36453652ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    3646 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
     3653if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
    36473654  $as_echo_n "(cached) " >&6
    36483655else
     
    36523659        @echo '@@@%%%=$(MAKE)=@@@%%%'
    36533660_ACEOF
    3654 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3661# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    36553662case `${MAKE-make} -f conftest.make 2>/dev/null` in
    36563663  *@@@%%%=?*=@@@%%%*)
     
    37483755  # test to see if srcdir already configured
    37493756  if test -f $srcdir/config.status; then
    3750     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
     3757    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
    37513758  fi
    37523759fi
     
    37643771# Define the identity of the package.
    37653772 PACKAGE='cppad'
    3766  VERSION='20100821'
     3773 VERSION='20101127'
    37673774
    37683775
     
    44764483continue
    44774484fi
    4478 rm -f conftest.err conftest.$ac_ext
     4485rm -f conftest.err conftest.i conftest.$ac_ext
    44794486
    44804487  # OK, works on sane cases.  Now check whether nonexistent headers
     
    44924499break
    44934500fi
    4494 rm -f conftest.err conftest.$ac_ext
     4501rm -f conftest.err conftest.i conftest.$ac_ext
    44954502
    44964503done
    44974504# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4498 rm -f conftest.err conftest.$ac_ext
     4505rm -f conftest.i conftest.err conftest.$ac_ext
    44994506if $ac_preproc_ok; then :
    45004507  break
     
    45354542continue
    45364543fi
    4537 rm -f conftest.err conftest.$ac_ext
     4544rm -f conftest.err conftest.i conftest.$ac_ext
    45384545
    45394546  # OK, works on sane cases.  Now check whether nonexistent headers
     
    45514558break
    45524559fi
    4553 rm -f conftest.err conftest.$ac_ext
     4560rm -f conftest.err conftest.i conftest.$ac_ext
    45544561
    45554562done
    45564563# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4557 rm -f conftest.err conftest.$ac_ext
     4564rm -f conftest.i conftest.err conftest.$ac_ext
    45584565if $ac_preproc_ok; then :
    45594566
     
    45614568  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    45624569$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4563 as_fn_error "C preprocessor \"$CPP\" fails sanity check
    4564 See \`config.log' for more details." "$LINENO" 5; }
     4570as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4571See \`config.log' for more details" "$LINENO" 5 ; }
    45654572fi
    45664573
     
    46204627ac_compiler_gnu=$ac_cv_fc_compiler_gnu
    46214628if test -n "$ac_tool_prefix"; then
    4622   for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
     4629  for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
    46234630  do
    46244631    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     
    46644671if test -z "$FC"; then
    46654672  ac_ct_FC=$FC
    4666   for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
     4673  for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
    46674674do
    46684675  # Extract the first word of "$ac_prog", so it can be a program name with args.
     
    50385045          # Ignore these flags.
    50395046        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
    5040           |-LANG:=* | -LIST:* | -LNO:*)
     5047          |-LANG:=* | -LIST:* | -LNO:* | -link)
    50415048          ;;
    50425049        -lkernel32)
     
    54965503ac_libobjs=
    54975504ac_ltlibobjs=
     5505U=
    54985506for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    54995507  # 1. Remove the extension, and $U if already installed.
     
    55115519
    55125520if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
    5513   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
     5521  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
    55145522Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55155523fi
    55165524if test -z "${CppAD_DOCUMENTATION_TRUE}" && test -z "${CppAD_DOCUMENTATION_FALSE}"; then
    5517   as_fn_error "conditional \"CppAD_DOCUMENTATION\" was never defined.
     5525  as_fn_error $? "conditional \"CppAD_DOCUMENTATION\" was never defined.
    55185526Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55195527fi
    55205528if test -z "${CppAD_POSTFIX_TRUE}" && test -z "${CppAD_POSTFIX_FALSE}"; then
    5521   as_fn_error "conditional \"CppAD_POSTFIX\" was never defined.
     5529  as_fn_error $? "conditional \"CppAD_POSTFIX\" was never defined.
    55225530Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55235531fi
    55245532if test -z "${CppAD_ADOLC_TRUE}" && test -z "${CppAD_ADOLC_FALSE}"; then
    5525   as_fn_error "conditional \"CppAD_ADOLC\" was never defined.
     5533  as_fn_error $? "conditional \"CppAD_ADOLC\" was never defined.
    55265534Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55275535fi
    55285536if test -z "${CppAD_FADBAD_TRUE}" && test -z "${CppAD_FADBAD_FALSE}"; then
    5529   as_fn_error "conditional \"CppAD_FADBAD\" was never defined.
     5537  as_fn_error $? "conditional \"CppAD_FADBAD\" was never defined.
    55305538Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55315539fi
    55325540if test -z "${CppAD_SACADO_TRUE}" && test -z "${CppAD_SACADO_FALSE}"; then
    5533   as_fn_error "conditional \"CppAD_SACADO\" was never defined.
     5541  as_fn_error $? "conditional \"CppAD_SACADO\" was never defined.
    55345542Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55355543fi
    55365544if test -z "${CppAD_IPOPT_CPPAD_TRUE}" && test -z "${CppAD_IPOPT_CPPAD_FALSE}"; then
    5537   as_fn_error "conditional \"CppAD_IPOPT_CPPAD\" was never defined.
     5545  as_fn_error $? "conditional \"CppAD_IPOPT_CPPAD\" was never defined.
    55385546Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55395547fi
    55405548if test -z "${CppAD_BOOSTVECTOR_TRUE}" && test -z "${CppAD_BOOSTVECTOR_FALSE}"; then
    5541   as_fn_error "conditional \"CppAD_BOOSTVECTOR\" was never defined.
     5549  as_fn_error $? "conditional \"CppAD_BOOSTVECTOR\" was never defined.
    55425550Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55435551fi
    55445552if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
    5545   as_fn_error "conditional \"AMDEP\" was never defined.
     5553  as_fn_error $? "conditional \"AMDEP\" was never defined.
    55465554Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55475555fi
    55485556if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
    5549   as_fn_error "conditional \"am__fastdepCC\" was never defined.
     5557  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
    55505558Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55515559fi
     
    55595567
    55605568if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
    5561   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
     5569  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
    55625570Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55635571fi
    55645572if test -z "${CppAD_MS_COMPILER_TRUE}" && test -z "${CppAD_MS_COMPILER_FALSE}"; then
    5565   as_fn_error "conditional \"CppAD_MS_COMPILER\" was never defined.
     5573  as_fn_error $? "conditional \"CppAD_MS_COMPILER\" was never defined.
    55665574Usually this means the macro was only invoked conditionally." "$LINENO" 5
    55675575fi
     
    57135721
    57145722
    5715 # as_fn_error ERROR [LINENO LOG_FD]
    5716 # ---------------------------------
     5723# as_fn_error STATUS ERROR [LINENO LOG_FD]
     5724# ----------------------------------------
    57175725# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    57185726# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    5719 # script with status $?, using 1 if that was 0.
     5727# script with STATUS, using 1 if that was 0.
    57205728as_fn_error ()
    57215729{
    5722   as_status=$?; test $as_status -eq 0 && as_status=1
    5723   if test "$3"; then
    5724     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    5725     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     5730  as_status=$1; test $as_status -eq 0 && as_status=1
     5731  if test "$4"; then
     5732    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5733    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    57265734  fi
    5727   $as_echo "$as_me: error: $1" >&2
     5735  $as_echo "$as_me: error: $2" >&2
    57285736  as_fn_exit $as_status
    57295737} # as_fn_error
     
    59215929    done
    59225930    test -z "$as_dirs" || eval "mkdir $as_dirs"
    5923   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     5931  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    59245932
    59255933
     
    59745982# values after options handling.
    59755983ac_log="
    5976 This file was extended by CppAD $as_me 20100821, which was
    5977 generated by GNU Autoconf 2.65.  Invocation command line was
     5984This file was extended by CppAD $as_me 20101127, which was
     5985generated by GNU Autoconf 2.67.  Invocation command line was
    59785986
    59795987  CONFIG_FILES    = $CONFIG_FILES
     
    60406048ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    60416049ac_cs_version="\\
    6042 CppAD config.status 20100821
    6043 configured by $0, generated by GNU Autoconf 2.65,
     6050CppAD config.status 20101127
     6051configured by $0, generated by GNU Autoconf 2.67,
    60446052  with options \\"\$ac_cs_config\\"
    60456053
    6046 Copyright (C) 2009 Free Software Foundation, Inc.
     6054Copyright (C) 2010 Free Software Foundation, Inc.
    60476055This config.status script is free software; the Free Software Foundation
    60486056gives unlimited permission to copy, distribute and modify it."
     
    60626070do
    60636071  case $1 in
    6064   --*=*)
     6072  --*=?*)
    60656073    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    60666074    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     6075    ac_shift=:
     6076    ;;
     6077  --*=)
     6078    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     6079    ac_optarg=
    60676080    ac_shift=:
    60686081    ;;
     
    60886101    case $ac_optarg in
    60896102    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     6103    '') as_fn_error $? "missing file argument" ;;
    60906104    esac
    60916105    as_fn_append CONFIG_FILES " '$ac_optarg'"
     
    61006114  --he | --h)
    61016115    # Conflict between --help and --header
    6102     as_fn_error "ambiguous option: \`$1'
     6116    as_fn_error $? "ambiguous option: \`$1'
    61036117Try \`$0 --help' for more information.";;
    61046118  --help | --hel | -h )
     
    61096123
    61106124  # This is an error.
    6111   -*) as_fn_error "unrecognized option: \`$1'
     6125  -*) as_fn_error $? "unrecognized option: \`$1'
    61126126Try \`$0 --help' for more information." ;;
    61136127
     
    61956209    "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
    61966210
    6197   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     6211  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
    61986212  esac
    61996213done
     
    62336247  tmp=./conf$$-$RANDOM
    62346248  (umask 077 && mkdir "$tmp")
    6235 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
     6249} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
    62366250
    62376251# Set up the scripts for CONFIG_FILES section.
     
    62506264ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    62516265if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
    6252   ac_cs_awk_cr='\r'
     6266  ac_cs_awk_cr='\\r'
    62536267else
    62546268  ac_cs_awk_cr=$ac_cr
     
    62646278  echo "_ACEOF"
    62656279} >conf$$subs.sh ||
    6266   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
    6267 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     6280  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     6281ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    62686282ac_delim='%!_!# '
    62696283for ac_last_try in false false false false false :; do
    62706284  . ./conf$$subs.sh ||
    6271     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     6285    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    62726286
    62736287  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    62756289    break
    62766290  elif $ac_last_try; then
    6277     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     6291    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    62786292  else
    62796293    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    63646378  cat
    63656379fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    6366   || as_fn_error "could not setup config files machinery" "$LINENO" 5
     6380  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    63676381_ACEOF
    63686382
    6369 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    6370 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     6383# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     6384# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    63716385# trailing colons and then remove the whole line if VPATH becomes empty
    63726386# (actually we leave an empty line to preserve line numbers).
    63736387if test "x$srcdir" = x.; then
    6374   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    6375 s/:*\$(srcdir):*/:/
    6376 s/:*\${srcdir}:*/:/
    6377 s/:*@srcdir@:*/:/
    6378 s/^\([^=]*=[     ]*\):*/\1/
     6388  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     6389h
     6390s///
     6391s/^/:/
     6392s/[      ]*$/:/
     6393s/:\$(srcdir):/:/g
     6394s/:\${srcdir}:/:/g
     6395s/:@srcdir@:/:/g
     6396s/^:*//
    63796397s/:*$//
     6398x
     6399s/\(=[   ]*\).*/\1/
     6400G
     6401s/\n//
    63806402s/^[^=]*=[       ]*$//
    63816403}'
     
    64056427    break
    64066428  elif $ac_last_try; then
    6407     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
     6429    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    64086430  else
    64096431    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    64906512_ACEOF
    64916513cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    6492   as_fn_error "could not setup config headers machinery" "$LINENO" 5
     6514  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    64936515fi # test -n "$CONFIG_HEADERS"
    64946516
     
    65036525  case $ac_mode$ac_tag in
    65046526  :[FHL]*:*);;
    6505   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
     6527  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
    65066528  :[FH]-) ac_tag=-:-;;
    65076529  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    65316553           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    65326554           esac ||
    6533            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     6555           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
    65346556      esac
    65356557      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     
    65586580    case $ac_tag in
    65596581    *:-:* | *:-) cat >"$tmp/stdin" \
    6560       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
     6582      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    65616583    esac
    65626584    ;;
     
    66956717"
    66966718eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    6697   || as_fn_error "could not create $ac_file" "$LINENO" 5
     6719  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    66986720
    66996721test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     
    67016723  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    67026724  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    6703 which seems to be undefined.  Please make sure it is defined." >&5
     6725which seems to be undefined.  Please make sure it is defined" >&5
    67046726$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    6705 which seems to be undefined.  Please make sure it is defined." >&2;}
     6727which seems to be undefined.  Please make sure it is defined" >&2;}
    67066728
    67076729  rm -f "$tmp/stdin"
     
    67106732  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
    67116733  esac \
    6712   || as_fn_error "could not create $ac_file" "$LINENO" 5
     6734  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    67136735 ;;
    67146736  :H)
     
    67216743      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    67226744    } >"$tmp/config.h" \
    6723       || as_fn_error "could not create $ac_file" "$LINENO" 5
     6745      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    67246746    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    67256747      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     
    67286750      rm -f "$ac_file"
    67296751      mv "$tmp/config.h" "$ac_file" \
    6730         || as_fn_error "could not create $ac_file" "$LINENO" 5
     6752        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    67316753    fi
    67326754  else
    67336755    $as_echo "/* $configure_input  */" \
    67346756      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    6735       || as_fn_error "could not create -" "$LINENO" 5
     6757      || as_fn_error $? "could not create -" "$LINENO" 5
    67366758  fi
    67376759# Compute "$ac_file"'s index in $config_headers.
     
    68856907
    68866908test $ac_write_fail = 0 ||
    6887   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
     6909  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    68886910
    68896911
     
    69066928  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    69076929  # would make configure fail if this is the last instruction.
    6908   $ac_cs_success || as_fn_exit $?
     6930  $ac_cs_success || as_fn_exit 1
    69096931fi
    69106932if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  • trunk/cppad/error_handler.hpp

    r1401 r1717  
    33# define CPPAD_ERROR_HANDLER_INCLUDED
    44/* --------------------------------------------------------------------------
    5 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     5CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    66
    77CppAD is distributed under multiple licenses. This distribution is under
     
    130130# include <cppad/configure.hpp>
    131131# include <cassert>
     132# include <cstdlib>
    132133
    133134namespace CppAD { // BEGIN CppAD namespace
     
    195196
    196197                        // terminate program execution
    197                         assert(0);
     198                        assert(false);
     199
     200                        // termination when NDEBUG is defined
     201                        std::exit(1);
    198202                }
    199203// pragma omp master
  • trunk/cppad_ipopt/example/makefile.in

    r1716 r1717  
    8989CYGPATH_W = @CYGPATH_W@
    9090
    91 # $Id: makefile.am 1705 2010-09-23 11:46:10Z bradbell $
     91# $Id: makefile.am 1716 2010-09-26 13:46:57Z bradbell $
    9292# -----------------------------------------------------------------------------
    9393# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
  • trunk/cppad_ipopt/test/makefile.in

    r1716 r1717  
    8585CYGPATH_W = @CYGPATH_W@
    8686
    87 # $Id: makefile.am 1706 2010-09-23 12:43:59Z bradbell $
     87# $Id: makefile.am 1716 2010-09-26 13:46:57Z bradbell $
    8888# -----------------------------------------------------------------------------
    8989# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
  • trunk/makefile.in

    r1716 r1717  
    238238@CppAD_POSTFIX_FALSE@postfix_dir = .
    239239
    240 # $Id: makefile.am 1705 2010-09-23 11:46:10Z bradbell $
     240# $Id: makefile.am 1716 2010-09-26 13:46:57Z bradbell $
    241241# -----------------------------------------------------------------------------
    242242# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
  • trunk/omh/whats_new_10.omh

    r1716 r1717  
    4848assist you in learning about changes between various versions of CppAD.
    4949
     50$head 11-27$$
     51If $code NDEBUB$$ was defined,
     52the default CppAD $cref/error handler/ErrorHandler/$$ would return
     53because its $code assert$$ had no effect in this case.
     54This has been fixed by placing a call to $code std::exit(1)$$
     55after its assert.
     56
    5057$head 09-26$$
    5158There was a bug
  • trunk/test_more/makefile.am

    r1644 r1717  
    8686        mul_level.cpp \
    8787        mul_zero_one.cpp \
     88        ndebug.cpp \
    8889        near_equal_ext.cpp \
    8990        neg.cpp \
     
    117118        vec_unary.cpp
    118119
     120ndebug.$(OBJEXT): ndebug.cpp
     121        $(CXXCOMPILE) -DNDEBUG -c ndebug.cpp -o ndebug.$(OBJEXT)
     122
    119123test: test_more$(EXEEXT)
    120124        ./test_more | tee test.log
  • trunk/test_more/makefile.in

    r1704 r1717  
    5252        for_sparse_jac.cpp forward.cpp from_base.cpp fun_check.cpp \
    5353        jacobian.cpp log.cpp log_10.cpp mul.cpp mul_eq.cpp \
    54         mul_level.cpp mul_zero_one.cpp near_equal_ext.cpp neg.cpp \
    55         ode_err_control.cpp optimize.cpp poly.cpp pow.cpp pow_int.cpp \
    56         romberg_one.cpp rosen_34.cpp runge_45.cpp reverse.cpp \
    57         rev_sparse_hes.cpp rev_sparse_jac.cpp rev_two.cpp \
     54        mul_level.cpp mul_zero_one.cpp ndebug.cpp near_equal_ext.cpp \
     55        neg.cpp ode_err_control.cpp optimize.cpp poly.cpp pow.cpp \
     56        pow_int.cpp romberg_one.cpp rosen_34.cpp runge_45.cpp \
     57        reverse.cpp rev_sparse_hes.cpp rev_sparse_jac.cpp rev_two.cpp \
    5858        simple_vector.cpp sin.cpp sin_cos.cpp sinh.cpp \
    5959        sparse_hessian.cpp sparse_jacobian.cpp sparse_vec_ad.cpp \
     
    7373        jacobian.$(OBJEXT) log.$(OBJEXT) log_10.$(OBJEXT) \
    7474        mul.$(OBJEXT) mul_eq.$(OBJEXT) mul_level.$(OBJEXT) \
    75         mul_zero_one.$(OBJEXT) near_equal_ext.$(OBJEXT) neg.$(OBJEXT) \
     75        mul_zero_one.$(OBJEXT) ndebug.$(OBJEXT) \
     76        near_equal_ext.$(OBJEXT) neg.$(OBJEXT) \
    7677        ode_err_control.$(OBJEXT) optimize.$(OBJEXT) poly.$(OBJEXT) \
    7778        pow.$(OBJEXT) pow_int.$(OBJEXT) romberg_one.$(OBJEXT) \
     
    287288        mul_level.cpp \
    288289        mul_zero_one.cpp \
     290        ndebug.cpp \
    289291        near_equal_ext.cpp \
    290292        neg.cpp \
     
    402404@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mul_level.Po@am__quote@
    403405@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mul_zero_one.Po@am__quote@
     406@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ndebug.Po@am__quote@
    404407@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/near_equal_ext.Po@am__quote@
    405408@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/neg.Po@am__quote@
     
    645648
    646649
     650ndebug.$(OBJEXT): ndebug.cpp
     651        $(CXXCOMPILE) -DNDEBUG -c ndebug.cpp -o ndebug.$(OBJEXT)
     652
    647653test: test_more$(EXEEXT)
    648654        ./test_more | tee test.log
  • trunk/test_more/test_more.cpp

    r1659 r1717  
    5353extern bool MulEq(void);
    5454extern bool MulZeroOne(void);
     55extern bool ndebug(void);
    5556extern bool NearEqualExt(void);
    5657extern bool Neg(void);
     
    150151        ok &= Run( MulEq,           "MulEq"          );
    151152        ok &= Run( MulZeroOne,      "MulZeroOne"     );
     153        ok &= Run( ndebug,          "ndebug"         );
    152154        ok &= Run( NearEqualExt,    "NearEqualExt"   );
    153155        ok &= Run( Neg,             "Neg"            );
  • trunk/test_more/test_more.vcproj

    r1638 r1717  
    217217                        </File>
    218218                        <File
     219                                RelativePath=".\ndebug.cpp">
     220                        </File>
     221                        <File
    219222                                RelativePath=".\near_equal_ext.cpp">
    220223                        </File>
  • trunk/test_more/test_one.sh.in

    r1697 r1717  
    5151        export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:@IPOPT_DIR@/lib"
    5252fi
     53if [ "$1" == 'ndebug.cpp' ]
     54then
     55        cmd="$cmd -DNDEBUG"
     56fi
    5357echo $cmd
    5458$cmd
     
    5963fi
    6064exit 0
    61 
Note: See TracChangeset for help on using the changeset viewer.