Inlining warning

Benjamin Kosnik bkoz@redhat.com
Wed Apr 30 07:40:00 GMT 2003


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



More information about the Libstdc++ mailing list