|
[Sponsors] |
April 5, 2006, 13:22 |
Dear All,
I have just done
|
#1 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33 |
Dear All,
I have just done a compilation of OpenFOAM-1.3 on an older Suse-9.1 system and the issue I've found is so amusing that I wanted to share it (somebody may hit it in the future). :-) The compilation fails in global.C with the message like /usr/include/demangle.h:476: error: expected ',' of '...' before typename Looking at the offending header, the function declaration says: extern int cplus_demangle_fill_builtin_type (struct demangle_component *fill, const char *typename); i.e. "typename" is used as a name of the parameter, which totally confuses the C++ compiler! The fix is easy: edit error.C and around the include statement re-define the name locally, i.e. #define typename HrvsTypeName #include <demangle> #undef typename and all is well. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
star3.24 and SUSE Linux 10.0 | Timothy | Siemens | 3 | October 17, 2006 12:39 |
CFX 10 Pre/Post and Linux SuSE 10.0 | Bernhard Dobmeier | CFX | 2 | July 11, 2006 14:09 |
CFX and SUSE linux | Paul | CFX | 5 | December 23, 2004 21:53 |
Fluent 5.x with SuSE Linux 7.1 (7.0)? | Elmar Riesmeier | FLUENT | 3 | April 8, 2001 13:34 |
Linux/Alpha port ? | Prateep Chatterjee | FLUENT | 1 | June 5, 2000 21:28 |