]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
- added workaround patch for gcc 4.5 warning
authorarvenil <arvenil@pld-linux.org>
Thu, 1 Jul 2010 22:36:01 +0000 (22:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BR: pam-devel

Changed files:
    VirtualBox-warning_workaround.patch -> 1.1

VirtualBox-warning_workaround.patch [new file with mode: 0644]

diff --git a/VirtualBox-warning_workaround.patch b/VirtualBox-warning_workaround.patch
new file mode 100644 (file)
index 0000000..06fe836
--- /dev/null
@@ -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.
+  *
This page took 0.110008 seconds and 4 git commands to generate.