wok-stable diff virtualbox-ose/stuff/VirtualBox-3.2.0-gcc-4.5-warning-workaround.patch @ rev 12459
lives: fix symlink (thanks I-Jurij)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 08:19:20 2017 +0200 (2017-04-28) |
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 Fri Apr 28 08:19:20 2017 +0200 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 + *