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

Visual Studio pragmas should be guarded by #ifdef _MSC_VER

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b107

      Change "8074895: os::getenv is inadequate" introduced some MSVC pragmas in src/share/vm/utilities/growableArray.hpp to supress warnings during compilation.

      Unfortunately these MSVC macros have been introduced unconditionally which produces warnings on other platforms.

            simonis Volker Simonis
            simonis Volker Simonis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: