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

Up: slitaz-base-files (5.6.3): fix bug with installing coreutils-line package
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 26 16:03:09 2014 +0300 (2014-05-26)
parents
children
line source
1 --- VirtualBox-3.2.0_OSE/src/VBox/VMM/VMMAll/PGMAllGst.h.ark 2010-05-19 14:01:59.307802654 +0200
2 +++ VirtualBox-3.2.0_OSE/src/VBox/VMM/VMMAll/PGMAllGst.h 2010-05-19 14:07:31.690925013 +0200
3 @@ -28,6 +28,11 @@ RT_C_DECLS_END
7 +#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 5
8 + // Work around gcc 4.5 producing warnings when a X86PDPE is constructed
9 + // while the Makefiles use -Werror
10 +#pragma GCC diagnostic warning "-Wuninitialized"
11 +#endif
12 /**
13 * Gets effective Guest OS page information.
14 *