|
[Sponsors] |
expected primary-expression before '->' token |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 13, 2012, 15:43 |
expected primary-expression before '->' token
|
#1 |
Member
Join Date: Jan 2010
Posts: 44
Rep Power: 16 |
When I call the subroutine developed in a certain solver, mymodel->passK(newdata[ik]);, I got an error as,
add.C:104: error: expected primary-expression before '->' token. The library for my model is included. Any idea about this error? |
|
January 13, 2012, 16:56 |
|
#2 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
What type of object is mymodel, and how is it declared/initialized?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem About Running Fluent In Linux | mitra | FLUENT | 18 | June 20, 2019 03:11 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
wmake compiling Problem with OF1.5 | openTom | OpenFOAM Installation | 4 | May 3, 2009 15:44 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |