- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
forrtl: warning (402): In call to WRITEINTEGER an array temporary was created for blablablabla
I get a crapton of these warnings everytime I compile&run my program. I've seen some suggestions in https://groups.google.com/forum/#!topic/comp.lang.fortran/euk_DCVHK_M and https://stackoverflow.com/questions/27751905/warning-message-402-an-array-temporary-created-for-argument to use -check:noarg_temp_created to suppress the warning:
Ok, I am cool with suppressing the warning, but where do I place the check:noarg_temp_created if I'm using Visual Studio 2010?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Allright nevermind I got it. It needs to be placed in Project>Project Properties>Fortran>Command Line>Additional options as /check:noarg_temp_created. I got it from this link http://documentation.pflotran.org/user_guide/how_to/installation/windows_visual_studio.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You apparently enabled this option under Run-Time, and now you're turning it off again through Command Line. Why not just turn it off under Run-Time? It isn't on by default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how do I turn it off under run-time ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Project Properties > Fortran > Run-time > Runtime Error Checking > Custom > Check For Actual Arguments Using Temporary Storage

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