wok annotate 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 |
rev | line source |
---|---|
slaxemulator@7064 | 1 --- VirtualBox-3.2.0_OSE/src/VBox/VMM/VMMAll/PGMAllGst.h.ark 2010-05-19 14:01:59.307802654 +0200 |
slaxemulator@7064 | 2 +++ VirtualBox-3.2.0_OSE/src/VBox/VMM/VMMAll/PGMAllGst.h 2010-05-19 14:07:31.690925013 +0200 |
slaxemulator@7064 | 3 @@ -28,6 +28,11 @@ RT_C_DECLS_END |
slaxemulator@7064 | 4 |
slaxemulator@7064 | 5 |
slaxemulator@7064 | 6 |
slaxemulator@7064 | 7 +#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 5 |
slaxemulator@7064 | 8 + // Work around gcc 4.5 producing warnings when a X86PDPE is constructed |
slaxemulator@7064 | 9 + // while the Makefiles use -Werror |
slaxemulator@7064 | 10 +#pragma GCC diagnostic warning "-Wuninitialized" |
slaxemulator@7064 | 11 +#endif |
slaxemulator@7064 | 12 /** |
slaxemulator@7064 | 13 * Gets effective Guest OS page information. |
slaxemulator@7064 | 14 * |