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

Disable remaining warnings in awt/fontmanager

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b105

      Description


      There are multiple warnings from compiling libfontmanager on solaris sparc. Can these be compiled with warnings ignored since the warnings are clearly ignored.

      "/scratch/cphillim/hg/jdk9.is-valid/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.cc", line 195: Warning (Anachronism), wbadlkginit: Using hb_script_t(*)(hb_unicode_funcs_t*,unsigned,void*) to initialize extern "C" hb_script_t(*)(hb_unicode_funcs_t*,unsigned,void*).
      "/scratch/cphillim/hg/jdk9.is-valid/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.cc", line 195: Warning (Anachronism), wbadlkginit: Using int(*)(hb_unicode_funcs_t*,unsigned,unsigned,unsigned*,void*) to initialize extern "C" int(*)(hb_unicode_funcs_t*,unsigned,unsigned,unsigned*,void*).
      "/scratch/cphillim/hg/jdk9.is-valid/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.cc", line 195: Warning (Anachronism), wbadlkginit: Using int(*)(hb_unicode_funcs_t*,unsigned,unsigned*,unsigned*,void*) to initialize extern "C" int(*)(hb_unicode_funcs_t*,unsigned,unsigned*,unsigned*,void*).
      "/scratch/cphillim/hg/jdk9.is-valid/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.cc", line 195: Warning (Anachronism), wbadlkginit: Using unsigned(*)(hb_unicode_funcs_t*,unsigned,unsigned*,void*) to initialize extern "C" unsigned(*)(hb_unicode_funcs_t*,unsigned,unsigned*,void*).
      8 Warning(s) detected.
      warning: bad message tag: truncwarn
      "/scratch/cphillim/hg/jdk9.is-valid/jdk/src/java.desktop/share/native/libfontmanager/sunFont.c", line 361: warning: argument #1 is incompatible with prototype:
              prototype: pointer to void : "/scratch/cphillim/SS12u4-Solaris11u1/sysroot/usr/include/iso/stdlib_iso.h", line 117
              argument : pointer to const void (E_ARG_INCOMPATIBLE_WITH_ARG_L)
      "/scratch/cphillim/hg/jdk9.is-valid/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/hb-open-type-private.hh", line 402: Warning, wvarhidemem: start hides OT::hb_serialize_context_t::start.
      "/scratch/cphillim/hg/jdk9.is-valid/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/hb-open-type-private.hh", line 498: Warning, wvarhidemem: head hides OT::hb_serialize_context_t::head.
      "/scratch/cphillim/hg/jdk9.is-valid/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gsubgpos-private.hh", line 449: Warning, wvarhidemem: lookup_index hides OT::hb_apply_context_t::lookup_index.
      3 Warning(s) detected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erikj Erik Joelsson
                Reporter:
                coleenp Coleen Phillimore
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: