wok diff virtualbox-ose/stuff/VirtualBox-3.2.0-gcc-4.5-warning-workaround.patch @ rev 12259
Up: slitaz-configs to 4.9.2. There shouldn't have been 1.9.2 tag.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 10 14:35:05 2012 +0000 (2012-04-10) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/virtualbox-ose/stuff/VirtualBox-3.2.0-gcc-4.5-warning-workaround.patch Tue Apr 10 14:35:05 2012 +0000 1.3 @@ -0,0 +1,14 @@ 1.4 +--- VirtualBox-3.2.0_OSE/src/VBox/VMM/VMMAll/PGMAllGst.h.ark 2010-05-19 14:01:59.307802654 +0200 1.5 ++++ VirtualBox-3.2.0_OSE/src/VBox/VMM/VMMAll/PGMAllGst.h 2010-05-19 14:07:31.690925013 +0200 1.6 +@@ -28,6 +28,11 @@ RT_C_DECLS_END 1.7 + 1.8 + 1.9 + 1.10 ++#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 5 1.11 ++ // Work around gcc 4.5 producing warnings when a X86PDPE is constructed 1.12 ++ // while the Makefiles use -Werror 1.13 ++#pragma GCC diagnostic warning "-Wuninitialized" 1.14 ++#endif 1.15 + /** 1.16 + * Gets effective Guest OS page information. 1.17 + *