- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compiling a code with IVF W_FC_C_9.1.037with the options
/Od /nologo /traceback /check:all /warn:all /warn:unused /gen-interfaces /warn:interfaces /debug:all
and running it I get many run-time messages such as
forrtl: warning (402): fort: (1): In call to I/O Write routine, an array temporary was created for argument #1
In general, I want to see warning messages, but how can I turn off the warnings about array temporaries?
Vivek Rao
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try adding /check:noarg_temp_created. Note that this is a run-time check and not a compile-time warning. I don't remember if you can selectively disable checks enabled with /check:all. You may have to replace that with a list of the /check options you want. Similarly, as you have /warn:all, explicitly enabling some specific warnings is redundant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Inserting /check:noarg_temp_created after /check:all removed the run-time warnings. Thanks.
Vivek Rao
![](/skins/images/98E68944C1FF703B8AC50091329B92AF/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page