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

Up: aaphoto to 0.39.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 14 23:09:21 2010 +0000 (2010-11-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	Sun Nov 14 23:09:21 2010 +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 +  *