|
[Sponsors] |
April 24, 2011, 09:48 |
newbie question - simple pTraits
|
#1 |
New Member
Alan N. Sayre
Join Date: May 2009
Posts: 3
Rep Power: 17 |
Under cygwin when I try to compile pTraits with g++ 4.3.4 I get the following error:
$ g++ -o test pTraitsTest.C -DWM_DP pTraits.H: In instantiation of `Foam:Traits<double>': pTraitsTest.C:38: instantiated from here pTraits.H:52: error: base type `double' fails to be a struct or class type pTraitsTest.C: In function `int main()': pTraitsTest.C:38: error: `typeName' is not a member of `Foam:Traits<double>' Is it possible to compile pTraits in this manner? |
|
April 24, 2011, 11:20 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Already answered here: http://www.cfd-online.com/Forums/ope...tml#post304866
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simple Question Regarding Symmetry Planes | Atella | CFX | 3 | April 11, 2010 07:44 |
Simple Question Regarding Symmetry Planes | Atella | Main CFD Forum | 0 | April 9, 2010 11:58 |
Question of Anil Date's SIMPLE method | universez | Main CFD Forum | 0 | November 18, 2009 21:12 |
1D thermal stress problem simple barrodbeam | newsboost | OpenFOAM Running, Solving & CFD | 3 | January 2, 2009 16:12 |
A Simple Question | Thomas P. Abraham | Main CFD Forum | 3 | September 6, 1999 19:19 |