- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have code in which a C++ main program passes information across an interface to Fortran source (a collection of subroutines). During debugging, all INTEGER, PARAMETER :: X=Y variables within the Fortran source are undefined. Is there some sort of option that I need to flag to get these variables initialized properly?? The Fortran source was working just fine as a standalone project before I coded the C++ calling interface.
I am using VS 2008 with VC++2008 and IVF2011.
EDIT: I came across the field "Information for PARAMETER Constants" option under the Fortran -> Debugging section. It was set to "None". I changed the option to "All" and this resolved the issue. A minor issue but I'm sure newcomers to more recent versions of VS will run into this same problem. You would think that something like this would by default be set to "All" or at the very least set to "Used in the program".
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page