diff options
Diffstat (limited to 'dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-attribute-issue-with-gcc.patch')
-rw-r--r-- | dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-attribute-issue-with-gcc.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-attribute-issue-with-gcc.patch b/dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-attribute-issue-with-gcc.patch deleted file mode 100644 index 771f0e7..0000000 --- a/dynamic-layers/selinux/android-tools/android-tools/core-debian/fix-attribute-issue-with-gcc.patch +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | Description: remove clang-ism | ||
2 | Forwarded: not-needed | ||
3 | |||
4 | --- a/base/include/android-base/logging.h | ||
5 | +++ b/base/include/android-base/logging.h | ||
6 | @@ -484,10 +484,7 @@ | ||
7 | // -Wno-user-defined-warnings to CPPFLAGS. | ||
8 | #pragma clang diagnostic push | ||
9 | #pragma clang diagnostic ignored "-Wgcc-compat" | ||
10 | -#define OSTREAM_STRING_POINTER_USAGE_WARNING \ | ||
11 | - __attribute__((diagnose_if(true, "Unexpected logging of string pointer", "warning"))) | ||
12 | -inline std::ostream& operator<<(std::ostream& stream, const std::string* string_pointer) | ||
13 | - OSTREAM_STRING_POINTER_USAGE_WARNING { | ||
14 | +inline std::ostream& operator<<(std::ostream& stream, const std::string* string_pointer) { | ||
15 | return stream << static_cast<const void*>(string_pointer); | ||
16 | } | ||
17 | #pragma clang diagnostic pop | ||