mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-2699 Warn about malformed inlines.
X-SVN-Rev: 12247
This commit is contained in:
parent
c9475e02ae
commit
0554ce4b32
1 changed files with 2 additions and 2 deletions
4
icu4c/source/aclocal.m4
vendored
4
icu4c/source/aclocal.m4
vendored
|
@ -193,7 +193,7 @@ AC_DEFUN(AC_CHECK_STRICT_COMPILE,
|
|||
then
|
||||
if test "$GCC" = yes
|
||||
then
|
||||
CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
|
||||
CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline"
|
||||
case "${host}" in
|
||||
*-*-solaris*)
|
||||
CFLAGS="$CFLAGS -D__STDC__=0";;
|
||||
|
@ -201,7 +201,7 @@ AC_DEFUN(AC_CHECK_STRICT_COMPILE,
|
|||
fi
|
||||
if test "$GXX" = yes
|
||||
then
|
||||
CXXFLAGS="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
|
||||
CXXFLAGS="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline"
|
||||
case "${host}" in
|
||||
*-*-solaris*)
|
||||
CXXFLAGS="$CXXFLAGS -D__STDC__=0";;
|
||||
|
|
Loading…
Add table
Reference in a new issue