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

DebugNative fxpackager Windows build produces macro redefinition warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 8u40
    • Component/s: deploy

      Description

      After the fix for RT-39039, the build produces a lot of warnings:
      Exports.cpp
      ...\rt\modules\fxpackager\src\main\native\library\common\Platform.h(86) : warning C4005: 'DEBUG' : macro redefinition
              command-line arguments : see previous definition of 'DEBUG'

      Glass uses the following stategy:
      #if defined(_DEBUG) || defined(DEBUG)
      ...
      Prism-D3d uses this:
      #if defined _DEBUG && !defined DEBUG
          #define DEBUG
      #endif

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dcherepanov Dmitry Cherepanov
              Reporter:
              vadim Vadim Pakhnushev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: