Visual Studio pragmas should be guarded by #ifdef _MSC_VER

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: