- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was very happy to see the -heap-array option to tell the compiler to allocate temporary arrays on the heap. That will save me a lot of trouble.
But I couldn't find this as an option within the Fortran property pages in VC++. Can it be accessed from the IDE, or do I have to use the command line to use this option?
But I couldn't find this as an option within the Fortran property pages in VC++. Can it be accessed from the IDE, or do I have to use the command line to use this option?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It cannot be accessed from an IDE property page at this time. Also, the -heap_arrays switch itself doesn't work, which was unintentional.
In the IDE, you can go to the "Command Line" property page and type in the option yourself. Until the next update, use this as an alternative:
-Qoption,f,"-heap_arrays 0"
In the IDE, you can go to the "Command Line" property page and type in the option yourself. Until the next update, use this as an alternative:
-Qoption,f,"-heap_arrays 0"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve.
Right after I posted that message I discovered the command line option, and found that the option doesn't work.
Using your solution, it compiled without complaint. Now how do I verify that it actually did something? :)
Right after I posted that message I discovered the command line option, and found that the option doesn't work.
Using your solution, it compiled without complaint. Now how do I verify that it actually did something? :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If it works, your program no longer gets a stack overflow error. If it wasn't getting such an error before, then you don't need this option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right. I guess I was hoping I didn't have to dig up my large-problem test... :)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page