We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ef7e25 commit b218410Copy full SHA for b218410
src/hotspot/share/utilities/compilerWarnings.hpp
@@ -62,9 +62,6 @@
62
#ifndef PRAGMA_FORMAT_NONLITERAL_IGNORED
63
#define PRAGMA_FORMAT_NONLITERAL_IGNORED
64
#endif
65
-#ifndef PRAGMA_FORMAT_IGNORED
66
-#define PRAGMA_FORMAT_IGNORED
67
-#endif
68
69
#ifndef PRAGMA_STRINGOP_TRUNCATION_IGNORED
70
#define PRAGMA_STRINGOP_TRUNCATION_IGNORED
src/hotspot/share/utilities/compilerWarnings_gcc.hpp
@@ -51,8 +51,6 @@
51
PRAGMA_DISABLE_GCC_WARNING("-Wformat-nonliteral") \
52
PRAGMA_DISABLE_GCC_WARNING("-Wformat-security")
53
54
-#define PRAGMA_FORMAT_IGNORED PRAGMA_DISABLE_GCC_WARNING("-Wformat")
55
-
56
// Disable -Wstringop-truncation which is introduced in GCC 8.
57
// https://gcc.gnu.org/gcc-8/changes.html
58
#if !defined(__clang_major__) && (__GNUC__ >= 8)
0 commit comments