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

compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • Use gcc to see the warnings; clang will not show them.

    • b89
    • generic
    • linux

        The macro PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC appears near the top of several compiler source files.

        This has the effect of silencing gcc's complaints about format errors, both important and trivial. The important ones were fixed in JDK-8037816; the trivial ones remain, but as long as this macro remains in the file there is a potential for unchecked bit rot.

        It's a tedious process, best done by someone who knows (or is learning) what was intended when type and format do not match.

        It might be appropriate to work on this file using Zeno's algorithm; clear out the easiest half, and file another bug.

              david David Lindholm (Inactive)
              drchase David Chase (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: