Bug 903513: Don't treat GCC "-Wmaybe-uninitialized" warnings as errors. r=gps

This commit is contained in:
Daniel Holbert 2013-08-09 12:34:54 -07:00
Родитель 291fdd73f6
Коммит d56b4f9a73
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1257,6 +1257,8 @@ if test "$GNU_CC"; then
WARNINGS_AS_ERRORS='-Werror'
# Don't treat -Wuninitialized as error b/c it has lots of false positives.
WARNINGS_AS_ERRORS="$WARNINGS_AS_ERRORS -Wno-error=uninitialized"
# Don't treat -Wmaybe-uninitialized as error b/c it has lots of false positives.
WARNINGS_AS_ERRORS="$WARNINGS_AS_ERRORS -Wno-error=maybe-uninitialized"
# Don't treat -Wdeprecated-declarations as error b/c we don't want our
# builds held hostage when a platform-specific API is suddenly deprecated.
WARNINGS_AS_ERRORS="$WARNINGS_AS_ERRORS -Wno-error=deprecated-declarations"

Просмотреть файл

@ -1068,6 +1068,8 @@ if test "$GNU_CC"; then
WARNINGS_AS_ERRORS='-Werror'
# Don't treat -Wuninitialized as error b/c it has lots of false positives.
WARNINGS_AS_ERRORS="$WARNINGS_AS_ERRORS -Wno-error=uninitialized"
# Don't treat -Wmaybe-uninitialized as error b/c it has lots of false positives.
WARNINGS_AS_ERRORS="$WARNINGS_AS_ERRORS -Wno-error=maybe-uninitialized"
# Don't treat -Wdeprecated-declarations as error b/c we don't want our
# builds held hostage when a platform-specific API is suddenly deprecated.
WARNINGS_AS_ERRORS="$WARNINGS_AS_ERRORS -Wno-error=deprecated-declarations"