[ADOL-C] Cygwin build of ADOL-C fails

Mihai Pomarlan mpomarlan at yahoo.co.uk
Thu Jun 9 05:44:38 EDT 2011


Hello again,

and thanks, that seemed to do the trick!

The ADOL-C library now builds fine, and so do two of the test programs. 

The fminmax one still has a problem though:

Making all in test:
  CXX   fminmax.o
fminmax.cpp: In function 'int main(int, char**)':
fminmax.cpp:7: error: call of overloaded 'fmax(const double&, const double&) is ambiguous
../../ADOL-C/adolc/adouble.h:73: note: candidates are: double fmax(const double&, const double&)
/usr/include/math.h:260: note: double fmax(double, double)
fminmax.cpp:8: error: call of overloaded 'fmin(const double&, const double&) is ambiguous
../../ADOL-C/adolc/adouble.h:72: note: candidates are: double fmin(const double&, const double&)
/usr/include/math.h:261: note: double fmin(double, double)


Also, thanks again for the very quick replies, didn't expect things to work this fast.

With regard,
Mihai Pomarlan





More information about the ADOL-C mailing list