Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236274

remove obsolete -d2Zi+ debug flag in MSVC builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • infrastructure
    • None
    • b05
    • generic
    • windows

    Description

      The MSVC based builds still have the old flag -d2Zi+ set; this is as far as I know undocumented, the name of the flag is since VS2013 -Zo .
      However the flag is enabled by default for a long time , so it should be fine to remove it completely.

      See the VS2017 documentation :
      https://docs.microsoft.com/en-us/cpp/build/reference/zo-enhance-optimized-debugging?view=vs-2017

      "The /Zo option is enabled by default in Visual Studio when you specify debugging information with /Zi or /Z7. Specify /Zo- to explicitly disable this compiler option.
      The /Zo switch is available starting in Visual Studio 2013 Update 3, and it replaces the previously undocumented /d2Zi+ switch."

      Attachments

        Activity

          People

            mbaesken Matthias Baesken
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: