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

Globally suppress Visual Studio warning C4351

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • hotspot
    • None
    • b10
    • generic
    • windows

      The C4351 warning is generated for array initializers in a constructor initializer list. It warns that the behavior of such initializers changed (circa VS 2005?) from an incorrect to a correct (per standard) implementation. The warning is so one can audit old code to see if it depended on the old, incorrect, implementation. We don't have that problem; instead, we get warnings for correct code that will behave as expected.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: