wok diff virtualbox-ose/stuff/VirtualBox-3.2.0-gcc-4.5-warning-workaround.patch @ rev 17770

freerdp: select 1.1-stable branch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 14 11:10:16 2015 +0100 (2015-03-14)
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	Sat Mar 14 11:10:16 2015 +0100
     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 +  *