Remove local suppression of VS C4146 warnings

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: hotspot
    • b27

      Visual Studio C4146 is "unary minus operator applied to unsigned type, result still unsigned". There are several places in HotSpot where we locally suppress that warning using explicit #pragmas. Some are even in shared code with no conditionalization on the compiler.

      However, JDK-8254072 disabled that warning globally when compiling HotSpot, so there's no longer any need for local suppression of that warning.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: