Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 98749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:15:21+00:00 2026-05-11T00:15:21+00:00

I am reviewing the flags we have for our MSVC projects, and I can’t

  • 0

I am reviewing the flags we have for our MSVC projects, and I can’t get enough documentation on the following features:

  • Use Link Time Code Generation (/ltcg)
  • enable function level linking (/Gy)
  • Eliminate Unreferenced Data (/OPT:REF)
  • Remove Redundant COMDATs (/OPT:ICF)
  • optimize for windows98 No (/OPT:NOWIN98)
  • Enable string pooling (/GF)

we do use separate debug/release builds, so I’m mainly interested in flags for release. explanations about these flags and how they interelate, as well as which ones you use in your own projects are very welcome!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T00:15:21+00:00Added an answer on May 11, 2026 at 12:15 am

    To a large extent it depends on what you are looking for from your build, for example whether you have seperate release and debug builds as discussed here. If you have a combined debug/release build you will need function level linking in order to use edit and continue in the debugger, which most developers will want.

    Of the others, they primarily reduce the size of your executable. For example, if you have two identical strings literals char *a = ‘happy holidays’, *b = ‘happy holidays’, they will reside in the same piece of memory when string pooling is enabled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When reviewing our codebase, I found an inheritance structure that resembles the following pattern:
I'm reviewing some code from one of our contractors: if (userLists != null) {
I have been reviewing a number of applications for securing deleting files. I understand
The MSDN CreatMutex() documentation ( http://msdn.microsoft.com/en-us/library/ms682411%28VS.85%29.aspx ) contains the following remark near the end:
When reviewing code I came across something odd, someone had read that you can
I'm reviewing some code written by a consultant, and while dozens of red flags
Reviewing our code I've found a curious definition in one of .idl files: [
Reviewing a quite old project I found the following curious code snippet (only relevant
Reviewing some legacy source files, I came across a jsp with the following code:
I'm reviewing some code, and saw something I have never seen before. I did

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.