_MSC_VER is only defined on _WIN32

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b02
    • generic
    • generic

      Clang complains about _MSC_VER not being defined when compiling ADLC:

      /Users/cthaling/ws/8029305/src/share/vm/adlc/adlc.hpp:41:5: error: '_MSC_VER' is not defined, evaluates to 0 [-Werror,-Wundef]
      #if _MSC_VER >= 1300
          ^

            Assignee:
            Christian Thalinger (Inactive)
            Reporter:
            Christian Thalinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: