mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8354292: Remove unused PRAGMA_FORMAT_IGNORED
Reviewed-by: mbaesken, kbarrett, shade
This commit is contained in:
parent
8ef7e256a0
commit
b218410508
@ -62,9 +62,6 @@
|
||||
#ifndef PRAGMA_FORMAT_NONLITERAL_IGNORED
|
||||
#define PRAGMA_FORMAT_NONLITERAL_IGNORED
|
||||
#endif
|
||||
#ifndef PRAGMA_FORMAT_IGNORED
|
||||
#define PRAGMA_FORMAT_IGNORED
|
||||
#endif
|
||||
|
||||
#ifndef PRAGMA_STRINGOP_TRUNCATION_IGNORED
|
||||
#define PRAGMA_STRINGOP_TRUNCATION_IGNORED
|
||||
|
||||
@ -51,8 +51,6 @@
|
||||
PRAGMA_DISABLE_GCC_WARNING("-Wformat-nonliteral") \
|
||||
PRAGMA_DISABLE_GCC_WARNING("-Wformat-security")
|
||||
|
||||
#define PRAGMA_FORMAT_IGNORED PRAGMA_DISABLE_GCC_WARNING("-Wformat")
|
||||
|
||||
// Disable -Wstringop-truncation which is introduced in GCC 8.
|
||||
// https://gcc.gnu.org/gcc-8/changes.html
|
||||
#if !defined(__clang_major__) && (__GNUC__ >= 8)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user