Prev Next Bugs

Know Bugs and Problems Using CppAD

gcc 3.4.4 -O2
There appears to be a problem with gcc version 3.4.4 under Cygwin using the compiler option -O2.

Example
If you are running gcc 3.4.4, try using the configure option
     CPP_ERROR_WARN="-O2 -Wall -ansi -pedantic-errors -std=c++98"
If the -O2 compiler option is a problem for your compiler, you will get warnings that do not make sense when executing the make command in the Example sub-directory. In addition, the example/Example program will generate a segmentation fault.

Adolc
If you are running gcc 3.4.4, try using the configure options
     ./configure \
          ADOLC_DIR=
AdolcDir \
          CPP_ERROR_WARN="-Wall" \
          BOOST_DIR=
BoostDir
the following warning occurs during the make command:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_uninitialized.h:82: 
warning: '__cur' might be used uninitialized in this function
This appears to be the same problem discussed in
     
http://www.cygwin.com/ml/cygwin-apps/2005-06/msg00159.html
and its follow up messages.
Input File: omh/bugs.omh