- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to the documentations the default is "Global Optimizations" /Og to be enabled unless /Od is specified. In VS under Properties > Configuration Properties -> Fortran -> Optimization the default setting for Global Optimization is "No" with the option of turning it on "Yes /Og". So what does this setting do since (if the docs are correct), /Og is turned on by default? Furthermore the default "No" in Global Optimization is incorrect or at least misleading since Global Optimizations are turned on by default.
Finally, what does the "/Og" flag do? The Documentation on "/Og" say nothing of interest.
- Henrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/Og is intended to be equivalent to Microsoft's /Og. It is an old switch and basically controls general optimizations that the compiler would do normally. It is on by default unless optimizations are disabled (/Od).
My advice is to ignore this. Microsoft says it is "deprecated". I am going to recommend that it be removed from the property pages,
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/Og is intended to be equivalent to Microsoft's /Og. It is an old switch and basically controls general optimizations that the compiler would do normally. It is on by default unless optimizations are disabled (/Od).
My advice is to ignore this. Microsoft says it is "deprecated". I am going to recommend that it be removed from the property pages,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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