CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

expected primary-expression before '->' token

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2012, 14:43
Question expected primary-expression before '->' token
  #1
Member
 
Join Date: Jan 2010
Posts: 44
Rep Power: 16
Argen is on a distinguished road
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?
Argen is offline   Reply With Quote

Old   January 13, 2012, 15:56
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
What type of object is mymodel, and how is it declared/initialized?
mturcios777 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem About Running Fluent In Linux mitra FLUENT 18 June 20, 2019 02:11
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
wmake compiling Problem with OF1.5 openTom OpenFOAM Installation 4 May 3, 2009 14:44
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 00:56.