From 6dd6e6bccd20c64d2105ec2f4d1e87e247d7c022 Mon Sep 17 00:00:00 2001 From: arvenil Date: Thu, 1 Jul 2010 22:36:01 +0000 Subject: [PATCH] - added workaround patch for gcc 4.5 warning - BR: pam-devel Changed files: VirtualBox-warning_workaround.patch -> 1.1 --- VirtualBox-warning_workaround.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 VirtualBox-warning_workaround.patch 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. + * -- 2.44.0