Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: bfd/warning.m4

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bfd/vms-lib.c ('k') | bfd/xcofflink.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dnl Common configure.in fragment 1 dnl Common configure.in fragment
2 dnl
3 dnl Copyright 2012 Free Software Foundation
4 dnl
5 dnl This file is free software; you can redistribute it and/or modify
6 dnl it under the terms of the GNU General Public License as published by
7 dnl the Free Software Foundation; either version 3 of the License, or
8 dnl (at your option) any later version.
9 dnl
10 dnl This program is distributed in the hope that it will be useful,
11 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 dnl GNU General Public License for more details.
14 dnl
15 dnl You should have received a copy of the GNU General Public License
16 dnl along with this program; see the file COPYING3. If not see
17 dnl <http://www.gnu.org/licenses/>.
18 dnl
2 19
3 AC_DEFUN([AM_BINUTILS_WARNINGS],[ 20 AC_DEFUN([AM_BINUTILS_WARNINGS],[
4 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 21 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
5 AC_EGREP_CPP([^[0-3]$],[__GNUC__],,GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow") 22 AC_EGREP_CPP([^[0-3]$],[__GNUC__],,GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow")
6 23
7 AC_ARG_ENABLE(werror, 24 AC_ARG_ENABLE(werror,
8 [ --enable-werror treat compile warnings as errors], 25 [ --enable-werror treat compile warnings as errors],
9 [case "${enableval}" in 26 [case "${enableval}" in
10 yes | y) ERROR_ON_WARNING="yes" ;; 27 yes | y) ERROR_ON_WARNING="yes" ;;
11 no | n) ERROR_ON_WARNING="no" ;; 28 no | n) ERROR_ON_WARNING="no" ;;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;; 68 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
52 esac]) 69 esac])
53 70
54 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then 71 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
55 echo "Setting warning flags = $WARN_CFLAGS" 6>&1 72 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
56 fi 73 fi
57 74
58 AC_SUBST(WARN_CFLAGS) 75 AC_SUBST(WARN_CFLAGS)
59 AC_SUBST(NO_WERROR) 76 AC_SUBST(NO_WERROR)
60 ]) 77 ])
OLDNEW
« no previous file with comments | « bfd/vms-lib.c ('k') | bfd/xcofflink.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698