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

DebugNative fxpackager Windows build produces macro redefinition warnings

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved:
              Imported: