View | Details | Raw Unified | Return to bug 198202
Collapse All | Expand All

(-)emulators/open-vm-tools/files/patch-lib__include__vm_assert.h (+12 lines)
Line 0 Link Here
1
--- lib/include/vm_assert.h.orig	2013-09-23 17:51:10.000000000 +0200
2
+++ lib/include/vm_assert.h	2015-02-04 15:55:56.011187000 +0100
3
@@ -363,7 +363,8 @@
4
 #define ASSERT_ON_COMPILE(e) \
5
    do { \
6
       enum { AssertOnCompileMisused = ((e) ? 1 : -1) }; \
7
-      typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
8
+      typedef char AssertOnCompileFailed[AssertOnCompileMisused] \
9
+         __attribute__((__unused__)); \
10
    } while (0)
11
 
12
 
(-)emulators/open-vm-tools/files/patch-lib__include__vm_atomic.h (+12 lines)
Line 0 Link Here
1
--- lib/include/vm_atomic.h.orig	2013-09-23 17:51:10.000000000 +0200
2
+++ lib/include/vm_atomic.h	2015-02-04 16:28:59.372337000 +0100
3
@@ -2460,7 +2460,8 @@
4
                                       && 8 * sizeof (out) == size             \
5
                                       && 8 * sizeof (cast) == size            \
6
                                          ? 1 : -1 };                          \
7
-      typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
8
+      typedef char AssertOnCompileFailed[AssertOnCompileMisused]              \
9
+         __attribute__((__unused__));                                         \
10
    }                                                                          \
11
                                                                               \
12
                                                                               \

Return to bug 198202