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

Windows: Cleanup deprecation warning suppression

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • infrastructure
    • b24
    • windows

      In flags-cflags.m4, when building for windows we define -D_CRT_SECURE_NO_DEPRECATE. That's an older macro that has been replaced by -D_CRT_SECURE_NO_WARNINGS. We should be using the newer macro. Alternatively, we should not be defining the macro at all, and instead resolving the resulting warnings.

      Also, we're globally disabling deprecation warnings (C4996) in CompileJvm.mk, and shouldn't need to do that.

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

              Created:
              Updated:
              Resolved: