- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have just found that using the same version of Visual Fortran ver 6.0 that one computer throws off and error stating that the variable has not been initialized before use, while another computer gives no error and runs the program as thought there was no problem.
Is there some setting that we cannot find that differentiates this?
Thanks.
Is there some setting that we cannot find that differentiates this?
Thanks.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An initialization warning is easily attributable to a difference in project configuration, perhaps you have warnings treated as errors on one computer (Project -> Settings -> Fortran -> Warning Level).
A good way to double check your compiler more directly is just compile from the command line and see if you still see any differences.
James
A good way to double check your compiler more directly is just compile from the command line and see if you still see any differences.
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have the 'warnings treated as errors' activated on both compilers and have gone through all the compile options to make sure they were the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try compiling from the command line?
James
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the optimization level the same? In 6.0, uninitialized variable checking wasn't done if optimization was turned off, as it would be in a debug configuration.
Have you considered updating your compiler version? 6.0 is four years old at this point...
Steve
Have you considered updating your compiler version? 6.0 is four years old at this point...
Steve

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