-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
Use gcc to see the warnings; clang will not show them.
-
b89
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142671 | emb-9 | David Lindholm | P4 | Resolved | Fixed | team |
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 inJDK-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.
This has the effect of silencing gcc's complaints about format errors, both important and trivial. The important ones were fixed in
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.
- backported by
-
JDK-8142671 compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
- Resolved
- relates to
-
JDK-8280963 Incorrect PrintFlags formatting on Windows
- Resolved
-
JDK-8037816 Fix for 8036122 breaks build with Xcode5/clang
- Resolved