Comments (5)
Comment by lorenz created at 2010-09-29 07:25:20
What I forgot to mention:
- OS: Ubuntu 10.04 (Linux 2.6.32-24-generic-pae)
from adol-c.
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:
- use any one of -ansi or -std=c90 switches in your compiler commands. Then gcc does not define fmin and fmax of its own.
- remove the fmin(const double&, const double&) declaration and defintions from your copy of adouble.h
from adol-c.
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.
from adol-c.
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.
from adol-c.
Comment by @awalther1 created at 2010-10-07 09:26:06
Resolution: fixed
from adol-c.
Related Issues (20)
- Linker error using fixpoint iteration abilities HOT 2
- strncpy bound depends on the length of the source
- boost and mingw64 (msys) HOT 1
- Output tape to c or C++ file HOT 1
- ADOL-C thread safety HOT 2
- ColPack detection on MacOS / g++ 10.1 gets confused
- OPENMP for loop with reduction
- configure mistakenly adding "-link -dll" option on a linux system lead to errors
- Build fails with ColPack HOT 2
- configure prints: Build with python swig module: no ./configure: line 22356: xno: command not found HOT 1
- python build fails: error: command 'swig' failed with exit status 1 HOT 2
- Implementation in Matlab HOT 1
- How to cross-compile ADOL-C to arm linux HOT 2
- ADOL-C installation macbook HOT 1
- uni5_for.c:3298:28: error: 'j' undeclared HOT 1
- Warning in calling setNumDir HOT 2
- Data races in OpenMP thread-parallel implementation
- 安装,在make的时候出现如下错误 HOT 6
- boost-test-adolc Fails with absolute value exceeding tolerance HOT 1
- AMPI upstream repository is dead
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adol-c.