- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Is there a Visual Studio Fortran Compiler setting that will warn me if there is an uninitialized variable?
コピーされたリンク
8 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
In CVF go to Project / Settings... / Fortran, then in "Category" select Compilation Diagnostics, and then in the window below Warning Level check for Uninitialized Variables.
But I think this is checked by default.
Sabalan.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I am using Intel Fortran Compiler Integration for Microsoft Visual Studio .NET 2003, Version 8.0.1877.2003. I could not find any option in the Diagnostic area to give me warnings for "uninitialized variables", similar to the "C/C++" compiler.
I would settle for a /Qzero option which is not available in this version of the compiler.
Is there a patch for this option or do I need to purchase tne new Intel Visual Fortran Compiler 8.1 for Windows which has this option?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
/Qzero is available in the current Intel Fortran Compiler 8.1, but it has some limitations. Uninitialized variable checking is planned for a future release.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Steve,
Uninitialized variable checking is very important. But with large legacy code Qzero and Qsave are agood trade off. I tried Version 8.1 and it works great for me.
Thanks,
Rachel.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hello.
The checking of unitialized variables is indeed very important to remove bugs from programs. I can confirm that this works very well in a furure release of Intel Fortran. With this functionality, as well assome other new run time cheks, the future Intel Fortran will be equivalent with (or maybe better than!) similar run timechecking seen in the best C++ compilers available.
:-)
Best regards,
Lars Petter Endresen
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Lars,
Thanks for the great news. I look forward to the new Fortran compiler with the Uninitializes Variable checking. When is this scheduled to be released?
Regards,
Rachel
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Look for it in July. As with all our releases, if your support license is current, you are licensed for the new version.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Steve,
Thanks for the info. We will make sure that we have a current license in July.
Rachel
