- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I ran into a weird error in CVF - not sure if it affects IVF as well. I have data structures involving derived types with derived type components. I was having compilation problems with a public derived type not being defined in parts of the program where it should be accessible. When I look at the derived type components with Watch Variable, I get "Syntax Error" for a value.
When I explicitly enter the sub-component into the watch window, I get a value of "Invalid structure member '[variable name]'.
What the heck is going on, and what is a "invalid structure member"? Does IVF have similar messages?
Strangely, I have a very similar data structure that seems to work fine. When I port the code over to Salford FTN95, it has no problems.
TPL
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
Not sure what happened. I got a clean compile on several other compilers after copying the source over (including Intel Visual Fortran v9.1.032 on Linux, g95, PGI, and Absoft 8.2). After deleting the offending sub-structure, and trying a few things, and typing it back in, it started working all of a sudden.
Go figure....
- 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