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

Fix compiler warnings in saproc

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Understanding:
      Fix Understood
    • OS:
      solaris

      Description

      When compiling saproc using the new build system, more warnings are enabled by default. Some of these trigger on Solaris so has to be explicitly disabled for the build to pass. We should try to fix these if possible.

      The warnings are named "truncwarn" and "unknownpragma". To trigger them, remove the following line from hotspot/make/lib/Lib-jdk.hotspot.agent.gmk:

          DISABLED_WARNINGS_CXX_solstudio := truncwarn unknownpragma, \

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              erikj Erik Joelsson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: