summaryrefslogtreecommitdiff
path: root/VirtualBox-warning_workaround.patch
diff options
context:
space:
mode:
authorarvenil2010-07-01 22:36:01 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit6dd6e6bccd20c64d2105ec2f4d1e87e247d7c022 (patch)
tree5c2b526555f14c8f168e0ec25d0d58fac273f8cc /VirtualBox-warning_workaround.patch
parent55f3f0a2e18bb680cb4cee306660870ce62734e0 (diff)
downloadVirtualBox-6dd6e6bccd20c64d2105ec2f4d1e87e247d7c022.zip
VirtualBox-6dd6e6bccd20c64d2105ec2f4d1e87e247d7c022.tar.gz
- added workaround patch for gcc 4.5 warning
- BR: pam-devel Changed files: VirtualBox-warning_workaround.patch -> 1.1
Diffstat (limited to 'VirtualBox-warning_workaround.patch')
-rw-r--r--VirtualBox-warning_workaround.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/VirtualBox-warning_workaround.patch b/VirtualBox-warning_workaround.patch
new file mode 100644
index 0000000..06fe836
--- /dev/null
+++ b/VirtualBox-warning_workaround.patch
@@ -0,0 +1,15 @@
+http://www.virtualbox.org/ticket/6715
+--- VirtualBox-3.2.0_OSE/src/VBox/VMM/VMMAll/PGMAllGst.h.ark 2010-05-19 14:01:59.307802654 +0200
++++ VirtualBox-3.2.0_OSE/src/VBox/VMM/VMMAll/PGMAllGst.h 2010-05-19 14:07:31.690925013 +0200
+@@ -28,6 +28,11 @@ RT_C_DECLS_END
+
+
+
++#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 5
++ // Work around gcc 4.5 producing warnings when a X86PDPE is constructed
++ // while the Makefiles use -Werror
++#pragma GCC diagnostic warning "-Wuninitialized"
++#endif
+ /**
+ * Gets effective Guest OS page information.
+ *