зеркало из https://github.com/mozilla/pjs.git
Bug 703121 - Part 1 - Make warnings-as-errors opt-in instead of opt-out. r=khuey
This commit is contained in:
Родитель
24034fe863
Коммит
4ba412effe
14
configure.in
14
configure.in
|
@ -7053,14 +7053,14 @@ if test "$GNU_CC" -a "$GCC_USE_GNU_LD" -a -n "$MOZ_DEBUG_FLAGS"; then
|
|||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Disable any treating of compile warnings as errors
|
||||
dnl = Enable any treating of compile warnings as errors
|
||||
dnl ========================================================
|
||||
MOZ_ARG_DISABLE_BOOL(warnings-as-errors,
|
||||
[ --disable-warnings-as-errors
|
||||
Disable treating of warnings as errors],
|
||||
MOZ_DISABLE_WARNINGS_AS_ERRORS=1,
|
||||
MOZ_DISABLE_WARNINGS_AS_ERRORS= )
|
||||
if test "$MOZ_DISABLE_WARNINGS_AS_ERRORS"; then
|
||||
MOZ_ARG_ENABLE_BOOL(warnings-as-errors,
|
||||
[ --enable-warnings-as-errors
|
||||
Enable treating of warnings as errors],
|
||||
MOZ_ENABLE_WARNINGS_AS_ERRORS=1,
|
||||
MOZ_ENABLE_WARNINGS_AS_ERRORS=)
|
||||
if test -z "$MOZ_ENABLE_WARNINGS_AS_ERRORS"; then
|
||||
WARNINGS_AS_ERRORS=''
|
||||
fi
|
||||
|
||||
|
|
|
@ -4192,14 +4192,14 @@ if test -n "$MOZ_DEBUG" -o -n "$MOZ_DEBUG_SYMBOLS"; then
|
|||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Disable any treating of compile warnings as errors
|
||||
dnl = Enable any treating of compile warnings as errors
|
||||
dnl ========================================================
|
||||
MOZ_ARG_DISABLE_BOOL(warnings-as-errors,
|
||||
[ --disable-warnings-as-errors
|
||||
Disable treating of warnings as errors],
|
||||
MOZ_DISABLE_WARNINGS_AS_ERRORS=1,
|
||||
MOZ_DISABLE_WARNINGS_AS_ERRORS= )
|
||||
if test "$MOZ_DISABLE_WARNINGS_AS_ERRORS"; then
|
||||
[ --enable-warnings-as-errors
|
||||
Enable treating of warnings as errors],
|
||||
MOZ_ENABLE_WARNINGS_AS_ERRORS=1,
|
||||
MOZ_ENABLE_WARNINGS_AS_ERRORS=)
|
||||
if test -z "$MOZ_ENABLE_WARNINGS_AS_ERRORS"; then
|
||||
WARNINGS_AS_ERRORS=''
|
||||
fi
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче