This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Inlining warning
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 30 Apr 2003 02:40:17 -0500
- Subject: Re: Inlining warning
- References: <200304291746.h3THkI2t002987@hiauly1.hia.nrc.ca>
Urp. I just updated my compiler and I am now afflicted with this. Use
-Wno-inline.
Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/acinclude.m4,v
retrieving revision 1.235
diff -c -p -r1.235 acinclude.m4
*** acinclude.m4 29 Apr 2003 22:47:03 -0000 1.235
--- acinclude.m4 30 Apr 2003 07:40:10 -0000
*************** AC_DEFUN(GLIBCPP_EXPORT_FLAGS, [
*** 1874,1880 ****
OPTIMIZE_CXXFLAGS=
AC_SUBST(OPTIMIZE_CXXFLAGS)
! WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
AC_SUBST(WARN_FLAGS)
])
--- 1874,1880 ----
OPTIMIZE_CXXFLAGS=
AC_SUBST(OPTIMIZE_CXXFLAGS)
! WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
AC_SUBST(WARN_FLAGS)
])
-benjamin