-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
call of overloaded 'fmax(double&, double&)' is ambiguous #8
Comments
Comment by lorenz created at 2010-09-29 07:25:20 What I forgot to mention:
|
Comment by @kkulshre created at 2010-10-01 12:54:12 We need to look into this for the long run and define these selectively for certain compilers, but for the short run you may use either one of the following two workarounds:
|
Comment by @kkulshre created at 2010-10-01 15:24:22 Please try using the svn trunk revision 169 of adolc svn co https://projects.coin-or.org/svn/ADOL-C/trunk adolc_trunk Your little program from above is also included as adolc_trunk/ADOL-C/tests/fminmax.cpp Hopefully this will get rid of the problem in a portable way. |
Comment by lorenz created at 2010-10-01 19:40:54 Okay, it's fixed in trunk, and the example compiles without any problems. Thank you. |
Comment by @awalther1 created at 2010-10-07 09:26:06 Resolution: fixed |
Issue created by migration from Trac.
Original creator: lorenz
Original creation time: 2010-09-29 07:18:25
Assignee: @awalther1
Version:
When trying to compile this simple test file, the compiler stops with an "ambiguous call" error for fmax and fmin. The problem would probably occur with other overloaded functions too.
Source file:
Compiler call:
Error messages:
System:
The text was updated successfully, but these errors were encountered: