summaryrefslogtreecommitdiff
path: root/graphics/libfpx/files/patch-unused-padding
blob: 10ae881ec697627810ae99bbb7ecf856f6405a6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The padding is important (earlier versions tried to remove it leading to peril),
but clang++ complains about it. Mark it as __unused to prevent that...
--- oless/h/dir.hxx	2014-02-12 08:14:24.000000000 -0500
+++ oless/h/dir.hxx	2014-02-14 11:36:59.000000000 -0500
@@ -142,5 +142,9 @@
     inline void  SetBitFlags(BYTE bValue, BYTE bMask);
 
-    BYTE  _bpad[CBDIRPAD];  // do not remove, bad things will happen!
+    BYTE  _bpad[CBDIRPAD]	// do not remove, bad things will happen!
+#ifdef __clang__
+	__unused
+#endif
+	;	 
 };